pgsql: Fix corruption of 2PC recovery with subxacts - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Fix corruption of 2PC recovery with subxacts
Date
Msg-id E1biKfh-0001Ae-De@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Fix corruption of 2PC recovery with subxacts
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid reporting "cache lookup failed" for some user-reachable ca