]> granicus.if.org Git - postgresql/commit
Remove warning about num_sync being too large in synchronous_standby_names.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Apr 2016 14:54:45 +0000 (10:54 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Apr 2016 14:54:45 +0000 (10:54 -0400)
commit17d5db352c1780f4721664f67bc3a3f3b1cf933c
tree87c7616947e1cb4f9f166147088d01489860688a
parent207d5a656e2ecc98a1db5bdc22ea306f7f7c8d62
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.
doc/src/sgml/config.sgml
src/backend/replication/syncrep.c