wal_init_zero / wal_recycle

From: Nicolas Seinlet <nicolas(at)seinlet(dot)eu>
To: "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: wal_init_zero / wal_recycle
Date: 2024-04-24 08:08:21
Message-ID: RJJj1ukTJZsa_MAFNEbpU3318pUYUiRkDe0KL6YQFNOhT3d8zEtLq4fNTBklHiLJj_yVw0fVMJXzoEjyihF7K7SNVXB54civYYpyEHvONTo=@seinlet.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hello,

while searching the doc to solve an issue, I found the interdependency between those 2 parameters was not obvious.

Here:
https://www.postgresql.org/docs/14/runtime-config-wal.html#GUC-WAL-INIT-ZERO

the wal_init_zero set to ON cause new WAL files to be filled with zeroes.

It was not crystal clear to me that when wal_recycle is also ON , the recycled files are not filled with zeroes, because they are not considered as new. Could we add a sentence stating this?

Thanks for reading me,

Nicolas.

Attachment Content-Type Size
publickey - nicolas@seinlet.eu - 0x6AE98DAA.asc application/pgp-keys 649 bytes

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2024-04-24 08:57:21 Re: wal_init_zero / wal_recycle
Previous Message Peter Eisentraut 2024-04-24 07:43:41 Re: No documentation on how pg_ctl is installed