agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Subject: [PATCH] Document wal_compression=on
Date: Mon, 29 Jun 2026 12:04:13 +0200
Message-ID: <akJDHRtXwGLTppsQ@msg.df7cb.de> (raw)

The docs currently don't say what wal_compression=on is, so here is a
patch.

Christoph

Attachments:

  [text/x-diff] 0001-Document-wal_compression-on.patch (1.1K, ../akJDHRtXwGLTppsQ@msg.df7cb.de/2-0001-Document-wal_compression-on.patch)
  download | inline diff:
From 0cb33f052a9c162fa199bc9a71ee29240347e710 Mon Sep 17 00:00:00 2001
From: Christoph Berg <myon@debian.org>
Date: Mon, 29 Jun 2026 11:58:44 +0200
Subject: [PATCH] Document wal_compression=on

This was not included when lz4 support was added in
4035cd5d4eee4dae797bfc77ab07f8dcd8781b41, but since the value is still
legal and even mentioned in postgresql.conf.sample, it should be
documented.
---
 doc/src/sgml/config.sgml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..d645a50476f 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3671,6 +3671,7 @@ include_dir 'conf.d'
         was compiled with <option>--with-lz4</option>) and
         <literal>zstd</literal> (if <productname>PostgreSQL</productname>
         was compiled with <option>--with-zstd</option>).
+        The value <literal>on</literal> is a deprecated alias for <literal>pglz</literal>.
         The default value is <literal>off</literal>.
         Only superusers and users with the appropriate <literal>SET</literal>
         privilege can change this setting.
-- 
2.53.0

view thread (12+ messages)  latest in thread

Message-ID: <akJDHRtXwGLTppsQ@msg.df7cb.de>
Permalink:  ../akJDHRtXwGLTppsQ@msg.df7cb.de/
Also on:    postgresql.org/message-id/akJDHRtXwGLTppsQ@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, michael@paquier.xyz
  Subject: Re: [PATCH] Document wal_compression=on
  In-Reply-To: <akJDHRtXwGLTppsQ@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