On Tue, Jan 3, 2017 at 8:41 PM, Ashutosh Bapat
<ashutosh.ba...@enterprisedb.com> wrote:
> Are you talking about
>     /*
>      * Now we can mark ourselves as out of the commit critical section: a
>      * checkpoint starting after this will certainly see the gxact as a
>      * candidate for fsyncing.
>      */
>     MyPgXact->delayChkpt = false;
>
> That's while creating the file. I do not see similar code in
> FinishPreparedTransaction() where the 2PC file is removed.

RecordTransactionCommitPrepared() does the same work for COMMIT PREPARED.
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to