On 07/29/2014 05:10 PM, Tom Lane wrote:
Heikki Linnakangas <[email protected]> writes:
Treat 2PC commit/abort the same as regular xacts in recovery.

Looking at this again ... didn't you just break recoveryStopsBefore?
ISTM the added line

        if (record_info == XLOG_XACT_COMMIT_PREPARED)

needs to be

        else if (record_info == XLOG_XACT_COMMIT_PREPARED)

As it stands, control will reach the "return false" for regular
commit records.

Oops :-(. Fixed, thanks!

- Heikki



--
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to