pgsql: Put the logic to decide which synchronous standby is active into - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Put the logic to decide which synchronous standby is active into
Date
Msg-id E1XzPJo-0002C4-2U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Put the logic to decide which synchronous standby is active into a function.

This avoids duplicating the code.

Michael Paquier, reviewed by Simon Riggs and me

Branch
------
master

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

Modified Files
--------------
src/backend/replication/syncrep.c   |   88 ++++++++++++++++++++++++-----------
src/backend/replication/walsender.c |   52 ++++++---------------
src/include/replication/syncrep.h   |    4 ++
3 files changed, 79 insertions(+), 65 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Move website-stylesheet setting to a more appropriate locat
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Add json_strip_nulls and jsonb_strip_nulls functions.