Thread: First WAL segment file that initdb creates

First WAL segment file that initdb creates

From
Fujii Masao
Date:
Hi,

There is the following description in wal.sgml.

    Segment
    files are given ever-increasing numbers as names, starting at
    <filename>000000010000000000000000</filename>.

But the first WAL segment file that initdb creates is 000000010000000000000001
not 000000010000000000000000. This change was caused by old commit 8c843fff2d,
but seems the documentation had not been updated unfortunately a long time.
Attached patch replaces 000000010000000000000000 with 000000010000000000000001
in the above description.

This patch needs to be back-patched to all the supported versions.

Regards,

-- 
Fujii Masao

Attachment