pgsql: Remove warning about num_sync being too large in synchronous_sta

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove warning about num_sync being too large in synchronous_sta
Date: 2016-04-30 14:54:51
Message-ID: E1awWIF-0002IS-1P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove warning about num_sync being too large in synchronous_standby_names.

If we're not going to reject such setups entirely, throwing a WARNING in
check_synchronous_standby_names() is unhelpful, because it will cause the
warning to be logged again every time the postmaster receives SIGHUP.
Per discussion, just remove the warning.

In passing, improve the documentation for synchronous_commit, which had not
gotten the word that now there can be more than one synchronous standby.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/17d5db352c1780f4721664f67bc3a3f3b1cf933c

Modified Files
--------------
doc/src/sgml/config.sgml | 45 ++++++++++++++++++---------------------
src/backend/replication/syncrep.c | 45 ---------------------------------------
2 files changed, 21 insertions(+), 69 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-04-30 16:29:26 pgsql: Fix planner crash from pfree'ing a partial path that a GatherPat
Previous Message Tom Lane 2016-04-30 00:19:58 pgsql: Fix mishandling of equivalence-class tests in parameterized plan