]> 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:34:04 +0000 (17:34 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 8 Jun 2012 16:34:04 +0000 (17:34 +0100)
commit37255705399b57b2e413814799f0bc9b94fda14a
treec59d9dc1f32934a6637a62374ba47815c81d9022
parent3b5548a3d524e3b37d49f79f707d2119ecdfa303
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