]> granicus.if.org Git - postgresql/commit
Ensure no xid gaps during Hot Standby startup
authorSimon Riggs <simon@2ndQuadrant.com>
Sun, 23 Jun 2013 10:05:02 +0000 (11:05 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Sun, 23 Jun 2013 13:50:38 +0000 (14:50 +0100)
commitf44eedc3f0f347a856eea8590730769125964597
tree97e7065fe64008e18a2bb2b3955624ca6cbbb09e
parent4f1490c78619556aa8771ab36576faedcb559680
Ensure no xid gaps during Hot Standby startup

In some cases with higher numbers of subtransactions
it was possible for us to incorrectly initialize
subtrans leading to complaints of missing pages.

Bug report by Sergey Konoplev
Analysis and fix by Andres Freund
src/backend/access/transam/xlog.c
src/backend/storage/ipc/procarray.c
src/include/storage/procarray.h