]> granicus.if.org Git - postgresql/commit
Fix corruption of 2PC recovery with subxacts
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 12:11:25 +0000 (13:11 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 12:11:25 +0000 (13:11 +0100)
commit1fef3d576e3a8ac69f90faf192997858f1d82f64
treed4eb06a491b10c9d2f5e38e3578998b4e42bd8ec
parent1fa42debe676146f1f3e4809ef42e9a0f300e112
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
src/backend/access/transam/twophase.c