Skip to content
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: implement SET [LOCAL] ROLE #67782

Closed
rafiss opened this issue Jul 19, 2021 · 1 comment
Closed

sql: implement SET [LOCAL] ROLE #67782

rafiss opened this issue Jul 19, 2021 · 1 comment
Labels
A-tools-graphile Issues relating to graphile compatibility C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@rafiss
Copy link
Collaborator

rafiss commented Jul 19, 2021

In Postgres, you can become another role as long as the role inherits from the current role. See https://www.postgresql.org/docs/current/sql-set-role.html

Related to, but different than SET LOCAL session variables: #32562
Relates to #64274

Epic CRDB-7217

@rafiss rafiss added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) A-tools-graphile Issues relating to graphile compatibility labels Jul 19, 2021
@rafiss
Copy link
Collaborator Author

rafiss commented Jul 21, 2021

Dupe of #15005

@rafiss rafiss closed this as completed Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tools-graphile Issues relating to graphile compatibility C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

1 participant