Skip to content

Commit e04a53a

Browse files
committed
doc: Further clarify how recovery target parameters are applied
Recovery target parameters are all applied even in standby mode. The previous documentation mostly wished they were not but this was never the case. Discussion: https://www.postgresql.org/message-id/flat/e445616d-023e-a268-8aa1-67b8b335340c%40pgmasters.net
1 parent 2c97f73 commit e04a53a

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

doc/src/sgml/config.sgml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3152,13 +3152,11 @@ include_dir 'conf.d'
31523152
recovery when the end of archived WAL is reached, but will keep trying to
31533153
continue recovery by connecting to the sending server as specified by the
31543154
<varname>primary_conninfo</varname> setting and/or by fetching new WAL
3155-
segments using <varname>restore_command</varname>. In this mode, you can
3156-
use parameters in both <xref
3157-
linkend="runtime-config-wal-archive-recovery"/> and <xref
3158-
linkend="runtime-config-replication-standby"/>. Parameters from
3159-
<xref linkend="runtime-config-wal-recovery-target"/> will not be used,
3160-
with the exception of <xref linkend="guc-recovery-target-timeline"/>
3161-
which allows a timeline to be selected for recovery.
3155+
segments using <varname>restore_command</varname>. For this mode, the
3156+
parameters from this section and <xref
3157+
linkend="runtime-config-replication-standby"/> are of interest.
3158+
Parameters from <xref linkend="runtime-config-wal-recovery-target"/> will
3159+
also be applied but are typically not useful in this mode.
31623160
</para>
31633161

31643162
<para>
@@ -3168,10 +3166,10 @@ include_dir 'conf.d'
31683166
<filename>recovery.signal</filename> files are created, standby mode
31693167
takes precedence. Targeted recovery mode ends when the archived WAL is
31703168
fully replayed, or when <varname>recovery_target</varname> is reached.
3171-
In this mode, you can use parameters from both <xref
3172-
linkend="runtime-config-wal-archive-recovery"/> and <xref
3173-
linkend="runtime-config-wal-recovery-target"/>. Parameters from <xref
3174-
linkend="runtime-config-replication-standby"/> will not be used.
3169+
In this mode, the parameters from both this section and <xref
3170+
linkend="runtime-config-wal-recovery-target"/> will be used. Parameters
3171+
from <xref linkend="runtime-config-replication-standby"/> will not be
3172+
used.
31753173
</para>
31763174

31773175
<variablelist>

0 commit comments

Comments
 (0)