Re: Skipping logical replication transactions on subscriber side
От | Masahiko Sawada |
---|---|
Тема | Re: Skipping logical replication transactions on subscriber side |
Дата | |
Msg-id | CAD21AoA-OYmTybKgTx8tY1vPS76KUyUo-r=RoUog3Prb6DfWEQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Skipping logical replication transactions on subscriber side (Amit Kapila <amit.kapila16@gmail.com>) |
Ответы |
Re: Skipping logical replication transactions on subscriber side
|
Список | pgsql-hackers |
On Fri, Jan 21, 2022 at 1:20 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Tue, Jan 18, 2022 at 9:21 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > > > On Tue, Jan 18, 2022 at 12:37 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > > > > > On Tue, Jan 18, 2022 at 8:34 AM tanghy.fnst@fujitsu.com > > > <tanghy.fnst@fujitsu.com> wrote: > > > > > > > > On Mon, Jan 17, 2022 2:18 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > > > > > > > > > > > > 2) The following two places are not consistent in whether "= value" is surround > > > > with square brackets. > > > > > > > > +ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> SKIP ( <replaceable class="parameter">skip_option</replaceable>[= <replaceable class="parameter">value</replaceable>] [, ... ] ) > > > > > > > > + <term><literal>SKIP ( <replaceable class="parameter">skip_option</replaceable> = <replaceable class="parameter">value</replaceable>[, ... ] )</literal></term> > > > > > > > > Should we modify the first place to: > > > > +ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> SKIP ( <replaceable class="parameter">skip_option</replaceable>= <replaceable class="parameter">value</replaceable> [, ... ] ) > > > > > > > > Because currently there is only one skip_option - xid, and a parameter must be > > > > specified when using it. > > > > > > > > > > Good observation. Do we really need [, ... ] as currently, we support > > > only one value for XID? > > > > I think no. In the doc, it should be: > > > > ALTER SUBSCRIPTION name SKIP ( skip_option = value ) > > > > In the latest patch, I see: > + <varlistentry> > + <term><literal>SKIP ( <replaceable > class="parameter">skip_option</replaceable> = <replaceable > class="parameter">value</replaceable> [, ... ] )</literal></term> > > What do we want to indicate by [, ... ]? To me, it appears like > multiple options but that is not what we support currently. You're right. It's an oversight. Regards, -- Masahiko Sawada EDB: https://www.enterprisedb.com/
В списке pgsql-hackers по дате отправления: