pgsql: Fix corruption of 2PC recovery with subxacts

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix corruption of 2PC recovery with subxacts
Date: 2016-09-09 12:12:41
Message-ID: E1biKfh-0001Ae-De@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2016-09-09 12:13:55 Re: [COMMITTERS] pgsql: Fix corruption of 2PC recovery with subxacts
Previous Message Simon Riggs 2016-09-09 12:12:34 pgsql: Fix corruption of 2PC recovery with subxacts