-
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: support regrole OID alias type #68877
sql: support regrole OID alias type #68877
Conversation
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.
lgtm
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.
lgtm too! could you add a release note in the commit message?
regrole was added in Postgres 9.5 alongside regnamespace as an additional object identifier alias type. As the name suggests, it references the pg_catalog.pg_authid table (not pg_roles, which is a view over pg_authid). This commit adds support for this type, along with its corresponding input and output routines. This is necessary but not sufficient to support PostgREST. Release note (sql change): The regrole OID alias type is now supported, which is a Postgres-compatible object identifier alias that references the pg_catalog.pg_authid table.
971364b
to
035a781
Compare
Done. TFTRs! bors r+ |
Build failed (retrying...): |
Build failed (retrying...): |
Build succeeded: |
regrole was added in Postgres 9.5 alongside regnamespace as an
additional object identifier alias type. As the name suggests, it
references the pg_catalog.pg_authid table (not pg_roles, which is
a view over pg_authid). This commit adds support for this type,
along with its corresponding input and output routines.
This is necessary but not sufficient to support PostgREST.
Release note (sql change): The regrole OID alias type is now supported,
which is a Postgres-compatible object identifier alias that references
the pg_catalog.pg_authid table.