Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b1ebec2

Browse files
committed
doc: Fix description about default behavior of recovery_target_timeline.
The default value of recovery_target_timeline was changed in v12, but the description about the default behavior of that was not updated. Back-patch to v12 where the default behavior of recovery_target_timeline was changed. Author: Benoit Lobréau Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/CAPE8EZ7c3aruEmM24GYkj8y8WmHKD1m9TtPtgCF0nQ3zw4LCkQ@mail.gmail.com
1 parent b266a40 commit b1ebec2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

doc/src/sgml/backup.sgml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1437,12 +1437,13 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
14371437
</para>
14381438

14391439
<para>
1440-
The default behavior of recovery is to recover along the same timeline
1441-
that was current when the base backup was taken. If you wish to recover
1442-
into some child timeline (that is, you want to return to some state that
1443-
was itself generated after a recovery attempt), you need to specify the
1444-
target timeline ID in <xref linkend="guc-recovery-target-timeline"/>. You cannot recover into
1445-
timelines that branched off earlier than the base backup.
1440+
The default behavior of recovery is to recover to the latest timeline found
1441+
in the archive. If you wish to recover to the timeline that was current
1442+
when the base backup was taken or into a specific child timeline (that
1443+
is, you want to return to some state that was itself generated after a
1444+
recovery attempt), you need to specify <literal>current</literal> or the
1445+
target timeline ID in <xref linkend="guc-recovery-target-timeline"/>. You
1446+
cannot recover into timelines that branched off earlier than the base backup.
14461447
</para>
14471448
</sect2>
14481449

0 commit comments

Comments
 (0)