File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -1309,7 +1309,16 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
13091309 a new timeline is created to identify the series of WAL records
13101310 generated after that recovery. The timeline
13111311 ID number is part of WAL segment file names so a new timeline does
1312- not overwrite the WAL data generated by previous timelines. It is
1312+ not overwrite the WAL data generated by previous timelines.
1313+ For example, in the WAL file name
1314+ <filename>0000000100001234000055CD</filename>, the leading
1315+ <literal>00000001</literal> is the timeline ID in hexadecimal. (Note that
1316+ in other contexts, such as server log messages, timeline IDs are
1317+ usually printed in decimal.)
1318+ </para>
1319+
1320+ <para>
1321+ It is
13131322 in fact possible to archive many different timelines. While that might
13141323 seem like a useless feature, it's often a lifesaver. Consider the
13151324 situation where you aren't quite sure what point-in-time to recover to,
Original file line number Diff line number Diff line change @@ -4113,6 +4113,14 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
41134113 a standby server. <literal>latest</literal> is the default.
41144114 </para>
41154115
4116+ <para>
4117+ To specify a timeline ID in hexadecimal (for example, if extracted
4118+ from a WAL file name or history file), prefix it with a
4119+ <literal>0x</literal>. For instance, if the WAL file name is
4120+ <filename>00000011000000A10000004F</filename>, then the timeline ID is
4121+ <literal>0x11</literal> (or 17 decimal).
4122+ </para>
4123+
41164124 <para>
41174125 You usually only need to set this parameter
41184126 in complex re-recovery situations, where you need to return to
You can’t perform that action at this time.
0 commit comments