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

schemas.privileges.transfer_ownership #3828

Closed
Tracked by #3639
pavish opened this issue Sep 12, 2024 · 0 comments · Fixed by #3833
Closed
Tracked by #3639

schemas.privileges.transfer_ownership #3828

pavish opened this issue Sep 12, 2024 · 0 comments · Fixed by #3833

Comments

@pavish
Copy link
Member

pavish commented Sep 12, 2024

Request:

database_id: number;
schema_oid: number;
target_owner_role_oid: number;

Sets target_role_oid as owner of the schema.

Function can only be called by the current owner or superuser.

Returns: Same response as schemas.get. schemas.get should include owner and current role privileges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant