]> 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:36:10 +0000 (17:36 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 8 Jun 2012 16:36:10 +0000 (17:36 +0100)
commit9d091e05464d075a7dc4943ee51ae7e4b1ebf13c
treed265f8b65c323d29c566e15e7b79847b73cbb7da
parentda6bb58ed9da5ba95b7668e7f4b4c9e2d318a62a
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