Skip site navigation (1) Skip section navigation (2)

pgsql: Emit cascaded standby message on shutdown only whenappropriate.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Emit cascaded standby message on shutdown only whenappropriate.
Date: 2011-09-07 10:55:14
Message-ID: E1R1Fmk-0007fC-51@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Emit cascaded standby message on shutdown only when appropriate.
Adds additional test for active walsenders and closes a race
condition for when we failover when a new walsender was connecting.

Reported and fixed bu Fujii Masao. Review by Heikki Linnakangas

Branch
------
master

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

Modified Files
--------------
src/backend/postmaster/postmaster.c |    5 +++--
src/backend/replication/walsender.c |   29 +++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 2 deletions(-)

pgsql-committers by date

Next:From: Simon RiggsDate: 2011-09-07 11:15:46
Subject: pgsql: Partially revoke attempt to improve performance with manysavepo
Previous:From: Bruce MomjianDate: 2011-09-07 02:54:50
Subject: pgsql: Properly document the existance of OLD/NEW trigger pl/pgsqltrig

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group