Re: Alter all tables in schema owner fix
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: "Bossart, Nathan" <bossartn@amazon.com>
Cc: "tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>,
Greg Nancarrow <gregn4422@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Amit Kapila <amit.kapila16@gmail.com>, "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Date: 2021-12-07T02:51:40Z
Lists: pgsql-hackers
Attachments
- v3-0001-Fix-for-new-owner-of-ALL-TABLES-IN-SCHEMA-publica.patch (text/x-patch) patch v3-0001
On Fri, Dec 3, 2021 at 10:50 PM Bossart, Nathan <bossartn@amazon.com> wrote: > > On 12/2/21, 11:57 PM, "tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com> wrote: > > Thanks for your patch. > > I tested it and it fixed this problem as expected. It also passed "make check-world". > > +1, the patch looks good to me, too. My only other suggestion would > be to move IsSchemaPublication() to pg_publication.c Thanks for your comments, I have made the changes. Additionally I have renamed IsSchemaPublication to is_schema_publication for keeping the naming similar around the code. The attached v3 patch has the changes for the same. Regards, Vignesh
Commits
-
Fix changing the ownership of ALL TABLES IN SCHEMA publication.
- 1a2aaeb0db1b 15.0 landed