mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Change default of recovery_target_timeline to 'latest'
This is what one usually wants for recovery and almost always wants for a standby. Discussion: https://www.postgresql.org/message-id/flat/6dd2c23a-4162-8469-410f-bfe146e28c0c@2ndquadrant.com/ Reviewed-by: David Steele <david@pgmasters.net> Reviewed-by: Michael Paquier <michael@paquier.xyz>
This commit is contained in:
@@ -690,8 +690,8 @@ protocol to make nodes agree on a serializable transactional order.
|
||||
<filename>standby.signal</filename> in the standby's cluster data
|
||||
directory. Set <xref linkend="guc-restore-command"/> to a simple command to copy files from
|
||||
the WAL archive. If you plan to have multiple standby servers for high
|
||||
availability purposes, set <varname>recovery_target_timeline</varname> to
|
||||
<literal>latest</literal>, to make the standby server follow the timeline change
|
||||
availability purposes, make sure that <varname>recovery_target_timeline</varname> is set to
|
||||
<literal>latest</literal> (the default), to make the standby server follow the timeline change
|
||||
that occurs at failover to another standby.
|
||||
</para>
|
||||
|
||||
@@ -1024,7 +1024,7 @@ primary_slot_name = 'node_a_slot'
|
||||
<para>
|
||||
If an upstream standby server is promoted to become new master, downstream
|
||||
servers will continue to stream from the new master if
|
||||
<varname>recovery_target_timeline</varname> is set to <literal>'latest'</literal>.
|
||||
<varname>recovery_target_timeline</varname> is set to <literal>'latest'</literal> (the default).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user