Re: logical decoding of two-phase transactions - Mailing list pgsql-hackers

From Stas Kelvich
Subject Re: logical decoding of two-phase transactions
Date
Msg-id 12F26CDD-B097-4E5B-BEEA-F8B8438114DF@postgrespro.ru
Whole thread Raw
In response to Re: logical decoding of two-phase transactions  (Stas Kelvich <s.kelvich@postgrespro.ru>)
List pgsql-hackers
> On 28 Mar 2017, at 00:19, Stas Kelvich <s.kelvich@postgrespro.ru> wrote:
>
> * It is actually doesn’t pass one of mine regression tests. I’ve added expected output
> as it should be. I’ll try to send follow up message with fix, but right now sending it
> as is, as you asked.
>
>

Fixed. I forgot to postpone ReorderBufferTxn cleanup in case of prepare.

So it pass provided regression tests right now.

I’ll give it more testing tomorrow and going to write TAP test to check behaviour
when we loose info whether prepare was sent to subscriber or not.





Stas Kelvich
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



Attachment

pgsql-hackers by date:

Previous
From: Lukas Fittl
Date:
Subject: Re: [PATCH] Use $ parameters as replacement characters for pg_stat_statements
Next
From: Craig Ringer
Date:
Subject: Re: logical decoding of two-phase transactions