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 E1biKfa-0001AE-CK@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ec253de1fd2e6002122de80815ac5b963af8277c

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 VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
Next
From: Simon Riggs
Date:
Subject: pgsql: Fix corruption of 2PC recovery with subxacts