Always treat a standby returning an an invalid flush location as async
Magnus Hagander <magnus@hagander.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/syncrep.c | modified | +6 −3 |
| src/backend/replication/walreceiver.c | modified | +5 −0 |
| src/backend/replication/walsender.c | modified | +9 −2 |