First WAL segment file that initdb creates

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: First WAL segment file that initdb creates
Date: 2019-10-09 05:48:50
Message-ID: CAHGQGwHOmGe2OqGOmp8cOfNVDivq7dbV74L5nUGr+3eVd2CU2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

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 Content-Type Size
first_wal_segment_v1.patch application/octet-stream 1007 bytes

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Gourish Singbal 2019-10-09 06:16:28 AES Encryption with Initialization Vector
Previous Message Bruce Momjian 2019-10-09 01:49:55 Re: BUG #15912: The units of `autovacuum_vacuum_cost_delay` setting should be documented

Browse pgsql-hackers by date

  From Date Subject
Next Message ideriha.takeshi@fujitsu.com 2019-10-09 06:06:45 RE: Global shared meta cache
Previous Message Antonin Houska 2019-10-09 05:42:56 Re: Transparent Data Encryption (TDE) and encrypted files