Commit f0f36171 authored by Robert Haas's avatar Robert Haas

Minor sync rep documentation improvements.

- Make the name of the ID tag for the GUC entry match the GUC name.
- Clarify that synchronous_replication waits for xlog flush, not receipt.
- Mention that synchronous_replication won't wait if max_wal_senders=0.
parent 5ca4dfc7
...@@ -2045,9 +2045,11 @@ SET ENABLE_SEQSCAN TO OFF; ...@@ -2045,9 +2045,11 @@ SET ENABLE_SEQSCAN TO OFF;
for confirmation of successful replication. That delay will for confirmation of successful replication. That delay will
increase depending upon the physical distance and network activity increase depending upon the physical distance and network activity
between primary and standby. The commit wait will last until a between primary and standby. The commit wait will last until a
reply from the current synchronous standby indicates it has received reply from the current synchronous standby indicates it has written
the commit record of the transaction. Synchronous standbys must the commit record of the transaction to durable storage. This
already have been defined (see <xref linkend="guc-sync-standby-names">). parameter has no effect if
<xref linkend="guc-synchronous-standby-names"> is empty or
<xref linkend="guc-max-wal-senders"> is zero.
</para> </para>
<para> <para>
This parameter can be changed at any time; the This parameter can be changed at any time; the
...@@ -2062,7 +2064,7 @@ SET ENABLE_SEQSCAN TO OFF; ...@@ -2062,7 +2064,7 @@ SET ENABLE_SEQSCAN TO OFF;
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="guc-sync-standby-names" xreflabel="synchronous_standby_names"> <varlistentry id="guc-synchronous-standby-names" xreflabel="synchronous_standby_names">
<term><varname>synchronous_standby_names</varname> (<type>string</type>)</term> <term><varname>synchronous_standby_names</varname> (<type>string</type>)</term>
<indexterm> <indexterm>
<primary><varname>synchronous_standby_names</> configuration parameter</primary> <primary><varname>synchronous_standby_names</> configuration parameter</primary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment