]> 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:47:43 +0000 (08:47 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 2 Nov 2011 08:47:43 +0000 (08:47 +0000)
commit10b7c686e52a6d1bb10194ebf9331ef06f044d46
treefe95dcad8f60cc20bf3d554f597e390b0e5ccaeb
parent2296e62a326dfd16ecae590f2f29773fd4348e7f
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