-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: add create_regfoo builtins #28155
Conversation
1605f47
to
5754a4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these are useful and safe for general use right? We should probably name theminternal_crdb.XXX
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale)
These builtins permit explicitly creating the various regfoo types (regtype, regproc, regclass, etc) with both an OID and a name. This is required to properly disambiguate the formatting of OID types, without forcing a re-execution of an introspection query to determine the name or oid of the regfoo type given only the oid or name. Release note: None
5754a4a
to
6ca19b8
Compare
Done. TFTRs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 7 of 7 files at r1, 4 of 4 files at r2.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 2 stale)
TFTRs! bors r+ |
28155: sql: add create_regfoo builtins r=jordanlewis a=jordanlewis These builtins permit explicitly creating the various regfoo types (regtype, regproc, regclass, etc) with both an OID and a name. This is required to properly disambiguate the formatting of OID types, without forcing a re-execution of an introspection query to determine the name or oid of the regfoo type given only the oid or name. Release note: None 28166: sql: remove noPeers peerGroupChecker r=yuzefovich a=yuzefovich There is actually no such notion as "no peers." For some reason, I couldn't match behavior of PG on some logic tests while working on #26666, so I thought PG had "no peers" in RANGE mode. I don't know whether I had a bug at some point and fixed it later or this problem was resolved with making all tests produce deterministic results (see #27635). Release note: None 28172: storageccl: don't skip row after deleted row r=dt a=dt We don't need to manually advance the iterator before calling `continue` since the for loop advances it as well, and doing so means the row _following_ a deleted row is also skipped. Fixes #28171. Release note (bug fix): Fix bug that could skip the row following a deleted row during BACKUP. Co-authored-by: Jordan Lewis <[email protected]> Co-authored-by: yuzefovich <[email protected]> Co-authored-by: David Taylor <[email protected]>
Build succeeded |
These builtins permit explicitly creating the various regfoo types
(regtype, regproc, regclass, etc) with both an OID and a name. This is
required to properly disambiguate the formatting of OID types, without
forcing a re-execution of an introspection query to determine the name
or oid of the regfoo type given only the oid or name.
Release note: None