pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix corruption of 2PC recovery with subxacts
3+ messages / 2 participants
[nested] [flat]

* pgsql: Fix corruption of 2PC recovery with subxacts
@ 2016-09-09 12:12  Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Simon Riggs @ 2016-09-09 12:12 UTC (permalink / raw)
  To: 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(-)


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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix corruption of 2PC recovery with subxacts
@ 2016-09-09 12:12  Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Simon Riggs @ 2016-09-09 12:12 UTC (permalink / raw)
  To: 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(-)


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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [COMMITTERS] pgsql: Fix corruption of 2PC recovery with subxacts
@ 2016-09-09 12:13  Michael Paquier <michael.paquier@gmail.com>
  parent: Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2016-09-09 12:13 UTC (permalink / raw)
  To: Simon Riggs <simon@2ndquadrant.com>; +Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>

On Fri, Sep 9, 2016 at 9:12 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> 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.

Thanks!
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-09-09 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09 12:12 pgsql: Fix corruption of 2PC recovery with subxacts Simon Riggs <simon@2ndQuadrant.com>
2016-09-09 12:13 ` Michael Paquier <michael.paquier@gmail.com>
2016-09-09 12:12 pgsql: Fix corruption of 2PC recovery with subxacts Simon Riggs <simon@2ndQuadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox