]> granicus.if.org Git - postgresql/commit
Always treat a standby returning an an invalid flush location as async
authorMagnus Hagander <magnus@hagander.net>
Wed, 4 Jul 2012 13:10:46 +0000 (15:10 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 4 Jul 2012 13:14:57 +0000 (15:14 +0200)
commit8c8adf4aa43d6c0da2243aea65d3dc508c79a933
tree0dff6f7df5f56b793751e170dc82c2cd017b51b5
parent5c5d54870f5ea7d9254e46a2497f6fa6f2309517
Always treat a standby returning an an invalid flush location as async

This ensures that a standby such as pg_receivexlog will not be selected
as sync standby - which would cause the master to block waiting for
a location that could never happen.

Fujii Masao
src/backend/replication/syncrep.c
src/backend/replication/walreceiver.c
src/backend/replication/walsender.c