mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix a couple of places in doc that implied there was only one sync standby.
Thomas Munro
This commit is contained in:
parent
137805f89a
commit
8643b91ecf
@ -1086,9 +1086,10 @@ primary_slot_name = 'node_a_slot'
|
|||||||
In the case that <varname>synchronous_commit</> is set to
|
In the case that <varname>synchronous_commit</> is set to
|
||||||
<literal>remote_apply</>, the standby sends reply messages when the commit
|
<literal>remote_apply</>, the standby sends reply messages when the commit
|
||||||
record is replayed, making the transaction visible.
|
record is replayed, making the transaction visible.
|
||||||
If the standby is chosen as the synchronous standby, from a priority
|
If the standby is chosen as a synchronous standby, from a priority
|
||||||
list of <varname>synchronous_standby_names</> on the primary, the reply
|
list of <varname>synchronous_standby_names</> on the primary, the reply
|
||||||
messages from that standby will be used to wake users waiting for
|
messages from that standby will be considered along with those from other
|
||||||
|
synchronous standbys to decide when to release transactions waiting for
|
||||||
confirmation that the commit record has been received. These parameters
|
confirmation that the commit record has been received. These parameters
|
||||||
allow the administrator to specify which standby servers should be
|
allow the administrator to specify which standby servers should be
|
||||||
synchronous standbys. Note that the configuration of synchronous
|
synchronous standbys. Note that the configuration of synchronous
|
||||||
@ -1113,10 +1114,10 @@ primary_slot_name = 'node_a_slot'
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Setting <varname>synchronous_commit</> to <literal>remote_apply</> will
|
Setting <varname>synchronous_commit</> to <literal>remote_apply</> will
|
||||||
cause each commit to wait until the current synchronous standby reports
|
cause each commit to wait until the current synchronous standbys report
|
||||||
that it has replayed the transaction, making it visible to user queries.
|
that they have replayed the transaction, making it visible to user
|
||||||
In simple cases, this allows for load balancing with causal consistency
|
queries. In simple cases, this allows for load balancing with causal
|
||||||
on a single hot standby.
|
consistency.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user