Alter all tables in schema owner fix
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Amit Kapila <amit.kapila16@gmail.com>, houzj.fnst@fujitsu.com
Date: 2021-12-03T03:06:23Z
Lists: pgsql-hackers
Attachments
- v1-0001-Fix-for-new-owner-of-ALL-TABLES-IN-SCHEMA-publica.patch (text/x-patch) patch v1-0001
Hi, Currently while changing the owner of ALL TABLES IN SCHEMA publication, it is not checked if the new owner has superuser permission or not. Added a check to throw an error if the new owner does not have superuser permission. Attached patch has the changes for the same. Thoughts? Regards, Vignesh
Commits
-
Fix changing the ownership of ALL TABLES IN SCHEMA publication.
- 1a2aaeb0db1b 15.0 landed