Start Hot Standby faster when initial snapshot is incomplete.
authorSimon Riggs <[email protected]>
Wed, 2 Nov 2011 08:46:11 +0000 (08:46 +0000)
committerSimon Riggs <[email protected]>
Wed, 2 Nov 2011 08:46:11 +0000 (08:46 +0000)
commit93b915b3d1c1a325a6458f9553a37b89d244262b
tree7479695e81762368cf1d2a361b2622a21ec084d6
parent9e5fe4d49227c5c5297410d54d6551a726814adc
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