agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: John Naylor <johncnaylorls@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Subject: Re: [PATCH] Document wal_compression=on
Date: Mon, 29 Jun 2026 16:16:04 +0200
Message-ID: <akJ-JMX235QusQx6@msg.df7cb.de> (raw)
In-Reply-To: <CANWCAZYpQwgs61EF6NO_5L3V0cMZbwPBr15dE13V7Uu8cJ0DsQ@mail.gmail.com>
References: <akJDHRtXwGLTppsQ@msg.df7cb.de>
	<CANWCAZYpQwgs61EF6NO_5L3V0cMZbwPBr15dE13V7Uu8cJ0DsQ@mail.gmail.com>

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





view thread (12+ messages)  latest in thread

Message-ID: <akJ-JMX235QusQx6@msg.df7cb.de>
Permalink:  ../akJ-JMX235QusQx6@msg.df7cb.de/
Also on:    postgresql.org/message-id/akJ-JMX235QusQx6@msg.df7cb.de

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: myon@debian.org, johncnaylorls@gmail.com, michael@paquier.xyz
  Subject: Re: [PATCH] Document wal_compression=on
  In-Reply-To: <akJ-JMX235QusQx6@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox