Re: Handle infinite recursion in logical replication setup

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, "kuroda(dot)hayato(at)fujitsu(dot)com" <kuroda(dot)hayato(at)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Handle infinite recursion in logical replication setup
Date: 2022-05-26 05:38:20
Message-ID: CAHut+PvWtrHB42yqXCuaWzYZ1O+avWz8S5nNwsdH4b1oJQoTkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 26, 2022 at 3:08 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Thu, May 26, 2022 at 7:06 AM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
> >
> >
> > 3. doc/src/sgml/catalogs.sgml
> >
> > + <para>
> > + If true, the subscription will request that the publisher send locally
> > + originated changes. False indicates that the publisher sends any changes
> > + regardless of their origin.
> > + </para></entry>
> >
> > SUGGESTION
> > If true, the subscription will request the publisher to only send
> > changes that originated locally.
> >
> > ~~~
> >
>
> I think it is a good idea to keep the description related to the
> 'False' value as without that it is slightly unclear.
>
> > 4. doc/src/sgml/ref/create_subscription.sgml
> >
> > + <para>
> > + Specifies whether the subscription will request the publisher to send
> > + locally originated changes at the publisher node, or send any
> > + publisher node changes regardless of their origin. The default is
> > + <literal>false</literal>.
> > + </para>
> >
> > This wording should be more similar to the same information in catalogs.sgml
> >
> > SUGGESTION
> > Specifies whether the subscription will request the publisher to only
> > send changes that originated locally, or to send any changes
> > regardless of origin.
> >
> > ~~~
> >
>
> Here, also, let's keep the wording related to the default value.
>
> --

I agree. Probably I was not being clear enough with those review comments.

My suggestions were only meant as substitutes for the FIRST sentences
of those patch fragments, not the entire paragraph.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ajin Cherian 2022-05-26 05:45:47 Re: Support logical replication of DDLs
Previous Message Tom Lane 2022-05-26 05:27:17 Re: Authorizing select count()