Re: Skipping logical replication transactions on subscriber side

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Greg Nancarrow <gregn4422(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>, "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>, "osumi(dot)takamichi(at)fujitsu(dot)com" <osumi(dot)takamichi(at)fujitsu(dot)com>, Alexey Lesovsky <lesovsky(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Skipping logical replication transactions on subscriber side
Date: 2021-10-18 01:34:22
Message-ID: CAD21AoB6Lq+fd5xAt=xEnfAKSgiqeiYv7637Q3LosxbPoekTVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 14, 2021 at 5:45 PM Greg Nancarrow <gregn4422(at)gmail(dot)com> wrote:
>
> On Tue, Oct 12, 2021 at 4:00 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> >
> > I've attached updated patches.
> >
>
> A couple more comments for some issues that I noticed in the v16 patches:
>
> v16-0002
>
> doc/src/sgml/ref/alter_subscription.sgml
>
> (1) Order of parameters that can be reset doesn't match those that can be set.
> Also, it doesn't match the order specified in the documentation
> updates in the v16-0003 patch.
>
> Suggested change:
>
> BEFORE:
> + The parameters that can be reset are: <literal>streaming</literal>,
> + <literal>binary</literal>, <literal>synchronous_commit</literal>.
> AFTER:
> + The parameters that can be reset are:
> <literal>synchronous_commit</literal>,
> + <literal>binary</literal>, <literal>streaming</literal>.
>

Fixed.

>
> v16-0003
>
> doc/src/sgml/ref/alter_subscription.sgml
>
> (1) Documentation update says "slot_name" is a parameter that can be
> reset, but this is not correct, it can't be reset.
> Also, the doc update is missing "the" before "parameter".
>
> Suggested change:
>
> BEFORE:
> + The parameters that can be reset are: <literal>slot_name</literal>,
> + <literal>synchronous_commit</literal>, <literal>binary</literal>,
> + <literal>streaming</literal>, and following parameter:
> AFTER:
> + The parameters that can be reset are:
> <literal>synchronous_commit</literal>,
> + <literal>binary</literal>, <literal>streaming</literal>, and
> the following
> + parameter:

Fixed.

I've attached updated patches that incorporate all comments I got so far.

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/

Attachment Content-Type Size
v17-0003-Add-skip_xid-option-to-ALTER-SUBSCRIPTION.patch application/octet-stream 30.8 KB
v17-0002-Add-RESET-command-to-ALTER-SUBSCRIPTION-command.patch application/octet-stream 13.0 KB
v17-0001-Add-a-subscription-errors-statistics-view-pg_sta.patch application/octet-stream 52.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sasasu 2021-10-18 02:19:48 Re: XTS cipher mode for cluster file encryption
Previous Message Masahiko Sawada 2021-10-18 01:33:37 Re: Skipping logical replication transactions on subscriber side