From: | "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com> |
---|---|
To: | vignesh C <vignesh21(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | RE: [PATCH]Comment improvement in publication.sql |
Date: | 2021-12-31 06:13:00 |
Message-ID: | TYCPR01MB61284B10A090E273B4C89644FB469@TYCPR01MB6128.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Monday, December 13, 2021 11:53 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> On Wed, Dec 8, 2021 at 11:07 AM tanghy(dot)fnst(at)fujitsu(dot)com
> <tanghy(dot)fnst(at)fujitsu(dot)com> wrote:
> >
> > On Wednesday, December 8, 2021 1:49 PM, vignesh C <vignesh21(at)gmail(dot)com>
> wrote:
> >
> > > The patch no longer applies, could you post a rebased patch.
> >
> > Thanks for your kindly reminder. Attached a rebased patch.
> > Some changes in v4 patch has been fixed by 5a28324, so I deleted those
> changes.
>
> Thanks for the updated patch, should we make a similar change in
> AlterPublicationTables Function header to mention Set too:
> /*
> * Add or remove table to/from publication.
> */
> static void
> AlterPublicationTables(AlterPublicationStmt *stmt, HeapTuple tup,
> List *tables, List *schemaidlist)
>
Sorry for the late reply.
I am not sure if we need this change because the way to SET the tables in
publication is that drop tables and then add tables, instead of directly
replacing the list of tables in the publication. (We can see this point in
AlterPublicationTables function.). Thoughts?
Regards,
Tang
From | Date | Subject | |
---|---|---|---|
Next Message | Bharath Rupireddy | 2021-12-31 06:14:46 | Re: skip replication slot snapshot/map file removal during end-of-recovery checkpoint |
Previous Message | Andres Freund | 2021-12-31 06:03:01 | Re: Patch to avoid orphaned dependencies |