Re: [PATCH] Document wal_compression=on

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: Christoph Berg <myon@debian.org>, John Naylor <johncnaylorls@gmail.com>, wenhui qiu <qiuwenhuifx@gmail.com>, Michael Paquier <michael@paquier.xyz>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-06-30T10:07:13Z
Lists: pgsql-hackers
On Tue, Jun 30, 2026 at 4:57 PM Christoph Berg <myon@debian.org> wrote:
>
> Re: John Naylor
> > FYI, default value of wal_compression is "off".
>
> Still, there is value in being consistent. If default_toast_compression=lz4
> and I turn wal_compression "on", I would also accept lz4 there.
>
> We are picking the best toast compression algorithm by default, we
> should also do that for wal.

The thread subject is about documenting the state of affairs that have
existed since PG15. If you want to propose a change in behavior for
master, that's material for a separate thread.

-- 
John Naylor
Amazon Web Services



Commits

  1. Document wal_compression=on