]> granicus.if.org Git - postgresql/commit
Start Hot Standby faster when initial snapshot is incomplete.
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 2 Nov 2011 08:27:00 +0000 (08:27 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 2 Nov 2011 08:27:00 +0000 (08:27 +0000)
commitff8451aa14c8513e429cbef09ddc72e79da366a5
treec04c30ef59ee4986d886806fb41ad273571800c6
parent2f55c535e1f026929cf20855b3790d3632062d42
Start Hot Standby faster when initial snapshot is incomplete.
If the initial snapshot had overflowed then we can start whenever
the latest snapshot is empty, not overflowed or as we did already,
start when the xmin on primary was higher than xmax of our starting
snapshot, which proves we have full snapshot data.

Bug report by Chris Redekop
src/backend/storage/ipc/procarray.c