pgsql: Always treat a standby returning an an invalid flush location as - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Always treat a standby returning an an invalid flush location as
Date
Msg-id E1SmPak-0005OX-2I@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8c8adf4aa43d6c0da2243aea65d3dc508c79a933

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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Remove reference to default wal_buffers being 8
Next
From: Magnus Hagander
Date:
Subject: pgsql: Always treat a standby returning an an invalid flush location as