You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
142900: use github.com/cockroachdb/version instead of pkg/util/version r=dcrosta a=dcrosta
CRDB versions are not semantic versions [1], but the version library was designed to work with & correctly handle semvers. This change adopts the version library from Cockroach Cloud (now extracted to its own shared repo) to:
* More-strictly validate actual, valid CockroachDB versions
* Correctly order actual CockroachDB versions [2]
* Add a MajorVersion type to capture & order CRDB major versions
* Remove the word "minor" from the Version type [1]
[1] The "minor" version -- the Y in vX.Y.Z -- does not carry the same meaning as in semver
[2] In particular, the "-cloudonly" release phase should sort after "-rc"; semver sorts these phases alphabetically, but we must not, in order to correctly order versions
Epic: None
Issue: RE-814
Release note: None
143158: sql/schemachanger: require table ownership for RLS DDL operations r=spilchen a=spilchen
Previously, executing row-level security (RLS) DDL statements (e.g., CREATE POLICY, DROP POLICY) required only the CREATE privilege. This change updates the requirement so that only the table owner can perform these operations, aligning with postgres' behaviour.
Closes#143080
Epic: CRDB-45203
Release note: none
Co-authored-by: Dan Crosta <[email protected]>
Co-authored-by: Matt Spilchen <[email protected]>
0 commit comments