Skip to content

Commit f0f3617

Browse files
committed
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.
1 parent 5ca4dfc commit f0f3617

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/src/sgml/config.sgml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2045,9 +2045,11 @@ SET ENABLE_SEQSCAN TO OFF;
20452045
for confirmation of successful replication. That delay will
20462046
increase depending upon the physical distance and network activity
20472047
between primary and standby. The commit wait will last until a
2048-
reply from the current synchronous standby indicates it has received
2049-
the commit record of the transaction. Synchronous standbys must
2050-
already have been defined (see <xref linkend="guc-sync-standby-names">).
2048+
reply from the current synchronous standby indicates it has written
2049+
the commit record of the transaction to durable storage. This
2050+
parameter has no effect if
2051+
<xref linkend="guc-synchronous-standby-names"> is empty or
2052+
<xref linkend="guc-max-wal-senders"> is zero.
20512053
</para>
20522054
<para>
20532055
This parameter can be changed at any time; the
@@ -2062,7 +2064,7 @@ SET ENABLE_SEQSCAN TO OFF;
20622064
</listitem>
20632065
</varlistentry>
20642066

2065-
<varlistentry id="guc-sync-standby-names" xreflabel="synchronous_standby_names">
2067+
<varlistentry id="guc-synchronous-standby-names" xreflabel="synchronous_standby_names">
20662068
<term><varname>synchronous_standby_names</varname> (<type>string</type>)</term>
20672069
<indexterm>
20682070
<primary><varname>synchronous_standby_names</> configuration parameter</primary>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy