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

Allow superuser to ALTER OWNER of datatype functions #251

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

adamguo0
Copy link
Contributor

@adamguo0 adamguo0 commented Nov 30, 2023

Issue #, if available: #249

Description of changes: Allow superuser to ALTER OWNER of datatype functions. Needed to unblock pg_dump/pg_restore of custom datatypes. pg_restore won't succeed for non-superuser roles regardless since create extension pg_tle requires superuser.

A fix for 002_pg_tle_dump_restore.pl is included. With the updated test, the original code fails as expected.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@adamguo0 adamguo0 merged commit 6bad5a6 into aws:main Dec 1, 2023
7 checks passed
@adamguo0 adamguo0 deleted the fix249 branch December 1, 2023 15:25
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 this pull request may close these issues.

3 participants