1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-29 13:56:47 +03:00

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 8c843fff2d, 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
This commit is contained in:
Fujii Masao 2020-03-03 12:22:04 +09:00
parent e2ff91b4c3
commit 7a00f50ea6

View File

@ -759,7 +759,7 @@
<filename>access/xlogrecord.h</filename>; the record content is dependent <filename>access/xlogrecord.h</filename>; the record content is dependent
on the type of event that is being logged. Segment files are given on the type of event that is being logged. Segment files are given
ever-increasing numbers as names, starting at ever-increasing numbers as names, starting at
<filename>000000010000000000000000</filename>. The numbers do not wrap, <filename>000000010000000000000001</filename>. The numbers do not wrap,
but it will take a very, very long time to exhaust the but it will take a very, very long time to exhaust the
available stock of numbers. available stock of numbers.
</para> </para>