Re: [PATCH] Document wal_compression=on

Christoph Berg <myon@debian.org>

From: Christoph Berg <myon@debian.org>
To: John Naylor <johncnaylorls@gmail.com>
Cc: wenhui qiu <qiuwenhuifx@gmail.com>, Michael Paquier <michael@paquier.xyz>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-06-30T09:57:20Z
Lists: pgsql-hackers
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.

Christoph



Commits

  1. Document wal_compression=on