pgsql: Always treat a standby returning an an invalid flush location as

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Always treat a standby returning an an invalid flush location as
Date: 2012-07-04 13:26:02
Message-ID: E1SmPak-0005Od-44@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b8aca12d77612007ebde22db14e3971ef664d553

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

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2012-07-04 14:17:47 pgsql: Remove duplicate, unnecessary, variable declaration
Previous Message Magnus Hagander 2012-07-04 13:26:01 pgsql: Always treat a standby returning an an invalid flush location as