]> granicus.if.org Git - postgresql/commit
Fix bug in early startup of Hot Standby with subtransactions.
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 8 Jun 2012 16:35:22 +0000 (17:35 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 8 Jun 2012 16:35:22 +0000 (17:35 +0100)
commit557433f48ad1e55ce753282f4dfb8ef3606cda8d
tree147af549119e497e395169a4097c577c1ac2abf6
parent16222f32ed56d3ebc4136133662d932299188955
Fix bug in early startup of Hot Standby with subtransactions.
When HS startup is deferred because of overflowed subtransactions, ensure
that we re-initialize KnownAssignedXids for when both existing and incoming
snapshots have non-zero qualifying xids.

Fixes bug #6661 reported by Valentine Gogichashvili.

Analysis and fix by Andres Freund
src/backend/storage/ipc/procarray.c