Fix changing the ownership of ALL TABLES IN SCHEMA publication.
Amit Kapila <akapila@postgresql.org>
Fix changing the ownership of ALL TABLES IN SCHEMA publication. Ensure that the new owner of ALL TABLES IN SCHEMA publication must be a superuser. The same is already ensured during CREATE PUBLICATION. Author: Vignesh C Reviewed-by: Nathan Bossart, Greg Nancarrow, Michael Paquier, Haiying Tang Discussion: https://postgr.es/m/CALDaNm0E5U-RqxFuFrkZrQeG7ae5trGa=xs=iRtPPHULtT4zOw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/pg_publication.c | modified | +30 −0 |
| src/backend/commands/publicationcmds.c | modified | +7 −0 |
| src/include/catalog/pg_publication.h | modified | +1 −0 |
| src/test/regress/expected/publication.out | modified | +15 −0 |
| src/test/regress/sql/publication.sql | modified | +15 −0 |
Discussion
- Alter all tables in schema owner fix 14 messages · 2021-12-03 → 2021-12-08