]> 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:42 +0000 (15:14 +0200)
commit0c4b468692804a232e324962d968e61c1837a13a
tree157d42fdd8ae3caf83abf87119c87121c1291902
parent817d870cf990698cbc6672068e6af5405c2ae7a4
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