Skip to content

Commit 7a00f50

Browse files
committed
Fix the name of the first WAL segment file, in docs.
Previously the documentation explains that WAL segment files start at 000000010000000000000000. But the first WAL segment file that initdb creates is 000000010000000000000001 not 000000010000000000000000. This change was caused by old commit 8c843ff, but the documentation had not been updated a long time. Back-patch to all supported branches. Author: Fujii Masao Reviewed-by: David Zhang Discussion: https://postgr.es/m/CAHGQGwHOmGe2OqGOmp8cOfNVDivq7dbV74L5nUGr+3eVd2CU2Q@mail.gmail.com
1 parent e2ff91b commit 7a00f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/wal.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@
759759
<filename>access/xlogrecord.h</filename>; the record content is dependent
760760
on the type of event that is being logged. Segment files are given
761761
ever-increasing numbers as names, starting at
762-
<filename>000000010000000000000000</filename>. The numbers do not wrap,
762+
<filename>000000010000000000000001</filename>. The numbers do not wrap,
763763
but it will take a very, very long time to exhaust the
764764
available stock of numbers.
765765
</para>

0 commit comments

Comments
 (0)