diff options
| author | Robert Haas <rhaas@postgresql.org> | 2011-03-15 11:25:04 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2011-03-15 11:25:04 -0400 |
| commit | f0f3617135854281bdb79179a895c102d54cb95b (patch) | |
| tree | 0ff5df5742fd332d83057151493dd5560ca488a3 /doc/src | |
| parent | 5ca4dfc79f21828174de3a8bc7d29718d0c52c34 (diff) | |
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.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/config.sgml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index a4c1e84ad8a..b774fa617c2 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -2045,9 +2045,11 @@ SET ENABLE_SEQSCAN TO OFF; for confirmation of successful replication. That delay will increase depending upon the physical distance and network activity between primary and standby. The commit wait will last until a - reply from the current synchronous standby indicates it has received - the commit record of the transaction. Synchronous standbys must - already have been defined (see <xref linkend="guc-sync-standby-names">). + reply from the current synchronous standby indicates it has written + the commit record of the transaction to durable storage. This + parameter has no effect if + <xref linkend="guc-synchronous-standby-names"> is empty or + <xref linkend="guc-max-wal-senders"> is zero. </para> <para> This parameter can be changed at any time; the @@ -2062,7 +2064,7 @@ SET ENABLE_SEQSCAN TO OFF; </listitem> </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> <indexterm> <primary><varname>synchronous_standby_names</> configuration parameter</primary> |
