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>, "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>, "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(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-09-09 14:32:54
Message-ID: CAD21AoBUXM4ODfPFa=h7M6vSKwOKysapUce3tS4rs9mfVMm+cQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Sep 5, 2021 at 10:58 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>
> On Fri, Sep 3, 2021 at 3:46 PM Greg Nancarrow <gregn4422(at)gmail(dot)com> wrote:
> >
> > On Mon, Aug 30, 2021 at 5:07 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> > >
> > > I've attached rebased patches. 0004 patch is not the scope of this
> > > patch. It's borrowed from another thread[1] to fix the assertion
> > > failure for newly added tests. Please review them.
> > >
> >
> > BTW, these patches need rebasing (broken by recent commits, patches
> > 0001, 0003 and 0004 no longer apply, and it's failing in the cfbot).
>
> Thanks! I'll submit the updated patches early this week.
>

Sorry for the late response. I've attached the updated patches that
incorporate all comments unless I missed something. Please review
them.

Regards,

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

Attachment Content-Type Size
v13-0003-Add-skip_xid-option-to-ALTER-SUBSCRIPTION.patch application/octet-stream 39.1 KB
v13-0002-Add-RESET-command-to-ALTER-SUBSCRIPTION-command.patch application/octet-stream 13.0 KB
v13-0001-Add-pg_stat_subscription_errors-statistics-view.patch application/octet-stream 48.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2021-09-09 14:39:09 Re: Queries that should be canceled will get stuck on secure_write function
Previous Message Tom Lane 2021-09-09 14:25:27 Re: trap instead of error on 32 TiB table