Re: Fix ALTER SUBSCRIPTION ... SET PUBLICATION documentation - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject Re: Fix ALTER SUBSCRIPTION ... SET PUBLICATION documentation
Date
Msg-id CALj2ACU3yVuqv174D1W+mZPuGsA-wtPc22vN9qm_E+r6BFFJBA@mail.gmail.com
Whole thread Raw
In response to Re: Fix ALTER SUBSCRIPTION ... SET PUBLICATION documentation  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Fix ALTER SUBSCRIPTION ... SET PUBLICATION documentation
List pgsql-hackers
On Wed, Jan 27, 2021 at 4:57 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> On Tue, Jan 26, 2021 at 4:56 PM japin <japinli@hotmail.com> wrote:
> >
> >
> > Hi,
> >
> > When I read the documentation of ALTER SUBSCRIPTION ... SET PUBLICATION ... WITH (...),
> > it says "set_publication_option" only support "refresh" in documentation [1].
> > However, we can also supply the "copy_data" option, and the code is:
> >
>
> I think there is a reference to the 'copy_data' option as well. There
> is a sentence saying: "Additionally, refresh options as described
> under REFRESH PUBLICATION may be specified." and then if you Refresh
> option, there we do mention about 'copy_data', isn't that sufficient?

Right. It looks like the copy_option is indirectly mentioned with the
statement "Additionally, refresh options as described under REFRESH
PUBLICATION may be specified." under "set_publication_option". IMHO,
we can keep it that way.

With Regards,
Bharath Rupireddy.
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Support ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION ... syntax
Next
From: Amit Langote
Date:
Subject: Re: simplifying foreign key/RI checks