aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2021-01-06 11:58:23 +0900
committerFujii Masao <fujii@postgresql.org>2021-01-06 11:58:23 +0900
commit25dde5835772a58356383bf1112c6c2a1a37df0e (patch)
tree27b75c1c4721e4ecb5bec52c9b9e0fc54a1c7b11 /doc/src
parentbc08f7971c03550ede43af43e73d4a47a7935c69 (diff)
downloadpostgresql-25dde5835772a58356383bf1112c6c2a1a37df0e.tar.gz
postgresql-25dde5835772a58356383bf1112c6c2a1a37df0e.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/backup.sgml13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml
index 42a8ed328d8..3c8aaed0b62 100644
--- a/doc/src/sgml/backup.sgml
+++ b/doc/src/sgml/backup.sgml
@@ -1437,12 +1437,13 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
</para>
<para>
- The default behavior of recovery is to recover along the same timeline
- that was current when the base backup was taken. If you wish to recover
- into some child timeline (that is, you want to return to some state that
- was itself generated after a recovery attempt), you need to specify the
- target timeline ID in <xref linkend="guc-recovery-target-timeline"/>. You cannot recover into
- timelines that branched off earlier than the base backup.
+ The default behavior of recovery is to recover to the latest timeline found
+ in the archive. If you wish to recover to the timeline that was current
+ when the base backup was taken or into a specific child timeline (that
+ is, you want to return to some state that was itself generated after a
+ recovery attempt), you need to specify <literal>current</literal> or the
+ target timeline ID in <xref linkend="guc-recovery-target-timeline"/>. You
+ cannot recover into timelines that branched off earlier than the base backup.
</para>
</sect2>