pgsql: Always treat a standby returning an an invalid flush location as
pgsql: Always treat a standby returning an an invalid flush location as
От:
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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/0c4b468692804a232e324962d968e61c1837a13a Modified Files -------------- src/backend/replication/syncrep.c | 9 ++++++--- src/backend/replication/walreceiver.c | 5 +++++ src/backend/replication/walsender.c | 11 +++++++++-- 3 files changed, 20 insertions(+), 5 deletions(-)