On Tue, Jan 3, 2017 at 8:41 PM, Ashutosh Bapat
<ashutosh.bapat@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