]> granicus.if.org Git - postgresql/commit
Ensure no xid gaps during Hot Standby startup
authorSimon Riggs <simon@2ndQuadrant.com>
Sun, 23 Jun 2013 10:09:24 +0000 (11:09 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Sun, 23 Jun 2013 10:09:24 +0000 (11:09 +0100)
commit7b2c9d682957418778dfb7217a536c5a99635a2b
tree867a9ce7375533f26e7ce82987ad919831292c84
parent0b5a5c8e05e6ebc5923375b056885c6e9934ee31
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