aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2025-01-09 21:04:49 +0900
committerFujii Masao <fujii@postgresql.org>2025-01-09 21:04:49 +0900
commit6313a76b355e3640aba4cc80456a65c2bbc55a80 (patch)
tree7a84792f1093d833ba07fbf6471da56321005dac
parent69ab44651422c49a6256d1b6cca6c20b5060ad92 (diff)
downloadpostgresql-6313a76b355e3640aba4cc80456a65c2bbc55a80.tar.gz
postgresql-6313a76b355e3640aba4cc80456a65c2bbc55a80.zip
doc: Clarify synchronous_standby_names parameter.
The synchronous_standby_names GUC allows specifying num_sync, the number of synchronous standbys transactions must wait for replies from. This value must be an integer greater than zero. This commit updates the documentation to clarify this requirement. Reported-by: Asphator <asphator@gmail.com> Discussion: https://postgr.es/m/18663-b02f75cb919f1b60@postgresql.org
-rw-r--r--doc/src/sgml/config.sgml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 8683f0bdf53..f1ab614575a 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4715,6 +4715,8 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
wait for replies from,
and <replaceable class="parameter">standby_name</replaceable>
is the name of a standby server.
+ <replaceable class="parameter">num_sync</replaceable>
+ must be an integer value greater than zero.
<literal>FIRST</literal> and <literal>ANY</literal> specify the method to choose
synchronous standbys from the listed servers.
</para>