Thread: pgsql: Fix corruption of 2PC recovery with subxacts

pgsql: Fix corruption of 2PC recovery with subxacts

From
Simon Riggs
Date:
Fix corruption of 2PC recovery with subxacts

Reading 2PC state files during recovery was borked, causing corruptions during
recovery. Effect limited to servers with 2PC, subtransactions and
recovery/replication.

Stas Kelvich, reviewed by Michael Paquier and Pavan Deolasee

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1fef3d576e3a8ac69f90faf192997858f1d82f64

Modified Files
--------------
src/backend/access/transam/twophase.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)