]> 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:17 +0000 (14:50 +0100)
commita41c88194b19655d7f2cb556d0fdada227dea941
treebdeb175ff8ef7c8631b1e5a7236229517f2966b1
parent27e9e86f6d2268d53555bc9474154f5286c64073
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