Re: [PATCH] Document wal_compression=on

From: Christoph Berg <myon(at)debian(dot)org>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: [PATCH] Document wal_compression=on
Date: 2026-06-29 14:16:04
Message-ID: akJ-JMX235QusQx6@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Re: John Naylor
> + The value <literal>on</literal> is a deprecated alias for
> <literal>pglz</literal>.
>
> "deprecated" implies we may remove it someday. I don't think we'd gain
> from doing that, but we could instead call 'on' a "historical
> spelling" of 'pglz'.

Or perhaps leave the door open for picking a better default in the future?

The value <literal>on</literal> is currently an alias for <literal>pglz</literal>.

(I would be fine with either of the 3 variants.)

Maybe we should also update the postgresql.conf.sample:

#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or on), lz4, or zstd

(Or just delete it there.)

Christoph

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2026-06-29 14:30:51 Re: Per-thread leak in ECPG's memory.c
Previous Message Peter Eisentraut 2026-06-29 13:56:35 Re: pg_createsubscriber --dry-run logging concerns