aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-03-03 12:22:04 +0900
committerFujii Masao <fujii@postgresql.org>2020-03-03 12:25:59 +0900
commitd013c0bf9a5f5fe4ce9077a2a83a3807c494bcc6 (patch)
tree99e8372eadc92fe76d18cc1f46cc00e1e448da3f
parent49300e4cf2da9988eb5caa94f18779cfa72ec698 (diff)
downloadpostgresql-d013c0bf9a5f5fe4ce9077a2a83a3807c494bcc6.tar.gz
postgresql-d013c0bf9a5f5fe4ce9077a2a83a3807c494bcc6.zip
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
-rw-r--r--doc/src/sgml/wal.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml
index a421dc2fbac..f0a95e6db13 100644
--- a/doc/src/sgml/wal.sgml
+++ b/doc/src/sgml/wal.sgml
@@ -732,7 +732,7 @@
<filename>access/xlogrecord.h</filename>; the record content is dependent
on the type of event that is being logged. Segment files are given
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
available stock of numbers.
</para>