Document wal_compression=on

John Naylor <john.naylor@postgresql.org>

Commit: 6a6cf80e5508c8de3e46b257e18117373ebbd289
Author: John Naylor <john.naylor@postgresql.org>
Date: 2026-07-01T02:02:36Z
Document wal_compression=on

Commit 4035cd5d4 added LZ4 compression for full-page writes in WAL, and
retained "on" as a backward-compatible way to specify the builtin PGLZ
method. Document this meaning of "on" and update postgresql.conf.sample
to make the equivalence clear.

Author: Christoph Berg <myon@debian.org>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/akJDHRtXwGLTppsQ@msg.df7cb.de
Backpatch-through: 15

Files

PathChange+/−
doc/src/sgml/config.sgml modified +1 −0
src/backend/utils/misc/postgresql.conf.sample modified +1 −1

Documentation touched

Discussion