]> 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:24:17 +0000 (15:24 +0200)
commitb8aca12d77612007ebde22db14e3971ef664d553
treeb02529f17136f108184d261435988f273d2c3d41
parent119027ec8b8d02c8d70e4916df1b41cde78f674d
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