Re: [HACKERS] logical decoding of two-phase transactions

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: Ajin Cherian <itsajin(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Date: 2021-02-23 08:05:15
Message-ID: CAA4eK1K8d-D5k8+90n7QFRvzTa-4snLVPfkcpFT7GaYAfaFcLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 23, 2021 at 7:43 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Mon, Feb 22, 2021 at 11:04 PM Markus Wanner <markus(at)bluegap(dot)ch> wrote:
> >
> > On 04.01.21 09:18, Amit Kapila wrote:
> > > Thanks, I have pushed the 0001* patch after making the above and a few
> > > other cosmetic modifications.
> >
> > That commit added the following snippet to the top of
> > ReorderBufferFinishPrepared:
> >
> > txn = ReorderBufferTXNByXid(rb, xid, true, NULL, commit_lsn, false);
> >
> > /* unknown transaction, nothing to do */
> > if (txn == NULL)
> > return;
> >
> > Passing true for the create argument seems like an oversight. I think
> > this should pass false and not ever (have to) create a ReorderBufferTXN
> > entry.
> >
>
> Right, I'll push a fix for this.
>

Pushed!

--
With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-02-23 08:06:29 Re: [PATCH] pg_hba.conf error messages for logical replication connections
Previous Message Andy Fan 2021-02-23 08:04:47 Re: pg_temp_%d namespace creation can invalidate all the cached plan in other backends