agora inbox for [email protected]
help / color / mirror / Atom feed[PATCH v25 6/9] Row pattern recognition patch (docs).
391+ messages / 5 participants
[nested] [flat]
* [PATCH v25 6/9] Row pattern recognition patch (docs).
@ 2024-12-21 06:19 Tatsuo Ishii <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Tatsuo Ishii @ 2024-12-21 06:19 UTC (permalink / raw)
---
doc/src/sgml/advanced.sgml | 82 ++++++++++++++++++++++++++++++++++++
doc/src/sgml/func.sgml | 54 ++++++++++++++++++++++++
doc/src/sgml/ref/select.sgml | 38 ++++++++++++++++-
3 files changed, 172 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml
index 755c9f1485..b0b1d1c51e 100644
--- a/doc/src/sgml/advanced.sgml
+++ b/doc/src/sgml/advanced.sgml
@@ -537,6 +537,88 @@ WHERE pos < 3;
<literal>rank</literal> less than 3.
</para>
+ <para>
+ Row pattern common syntax can be used to perform row pattern recognition
+ in a query. The row pattern common syntax includes two sub
+ clauses: <literal>DEFINE</literal>
+ and <literal>PATTERN</literal>. <literal>DEFINE</literal> defines
+ definition variables along with an expression. The expression must be a
+ logical expression, which means it must
+ return <literal>TRUE</literal>, <literal>FALSE</literal>
+ or <literal>NULL</literal>. The expression may comprise column references
+ and functions. Window functions, aggregate functions and subqueries are
+ not allowed. An example of <literal>DEFINE</literal> is as follows.
+
+<programlisting>
+DEFINE
+ LOWPRICE AS price <= 100,
+ UP AS price > PREV(price),
+ DOWN AS price < PREV(price)
+</programlisting>
+
+ Note that <function>PREV</function> returns the price column in the
+ previous row if it's called in a context of row pattern recognition. Thus in
+ the second line the definition variable "UP" is <literal>TRUE</literal>
+ when the price column in the current row is greater than the price column
+ in the previous row. Likewise, "DOWN" is <literal>TRUE</literal> when when
+ the price column in the current row is lower than the price column in the
+ previous row.
+ </para>
+ <para>
+ Once <literal>DEFINE</literal> exists, <literal>PATTERN</literal> can be
+ used. <literal>PATTERN</literal> defines a sequence of rows that satisfies
+ certain conditions. For example following <literal>PATTERN</literal>
+ defines that a row starts with the condition "LOWPRICE", then one or more
+ rows satisfy "UP" and finally one or more rows satisfy "DOWN". Note that
+ "+" means one or more matches. Also you can use "*", which means zero or
+ more matches. If a sequence of rows which satisfies the PATTERN is found,
+ in the starting row of the sequence of rows all window functions and
+ aggregates are shown in the target list. Note that aggregations only look
+ into the matched rows, rather than whole frame. On the second or
+ subsequent rows all window functions are NULL. Aggregates are NULL or 0
+ (count case) depending on its aggregation definition. For rows that do not
+ match on the PATTERN, all window functions and aggregates are shown AS
+ NULL too, except count showing 0. This is because the rows do not match,
+ thus they are in an empty frame. Example of a <literal>SELECT</literal>
+ using the <literal>DEFINE</literal> and <literal>PATTERN</literal> clause
+ is as follows.
+
+<programlisting>
+SELECT company, tdate, price,
+ first_value(price) OVER w,
+ max(price) OVER w,
+ count(price) OVER w
+FROM stock
+ WINDOW w AS (
+ PARTITION BY company
+ ORDER BY tdate
+ ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING
+ AFTER MATCH SKIP PAST LAST ROW
+ INITIAL
+ PATTERN (LOWPRICE UP+ DOWN+)
+ DEFINE
+ LOWPRICE AS price <= 100,
+ UP AS price > PREV(price),
+ DOWN AS price < PREV(price)
+);
+</programlisting>
+<screen>
+ company | tdate | price | first_value | max | count
+----------+------------+-------+-------------+-----+-------
+ company1 | 2023-07-01 | 100 | 100 | 200 | 4
+ company1 | 2023-07-02 | 200 | | | 0
+ company1 | 2023-07-03 | 150 | | | 0
+ company1 | 2023-07-04 | 140 | | | 0
+ company1 | 2023-07-05 | 150 | | | 0
+ company1 | 2023-07-06 | 90 | 90 | 130 | 4
+ company1 | 2023-07-07 | 110 | | | 0
+ company1 | 2023-07-08 | 130 | | | 0
+ company1 | 2023-07-09 | 120 | | | 0
+ company1 | 2023-07-10 | 130 | | | 0
+(10 rows)
+</screen>
+ </para>
+
<para>
When a query involves multiple window functions, it is possible to write
out each one with a separate <literal>OVER</literal> clause, but this is
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 47370e581a..17a38c4046 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -23338,6 +23338,7 @@ SELECT count(*) FROM sometable;
returns <literal>NULL</literal> if there is no such row.
</para></entry>
</row>
+
</tbody>
</tgroup>
</table>
@@ -23377,6 +23378,59 @@ SELECT count(*) FROM sometable;
Other frame specifications can be used to obtain other effects.
</para>
+ <para>
+ Row pattern recognition navigation functions are listed in
+ <xref linkend="functions-rpr-navigation-table"/>. These functions
+ can be used to describe DEFINE clause of Row pattern recognition.
+ </para>
+
+ <table id="functions-rpr-navigation-table">
+ <title>Row Pattern Navigation Functions</title>
+ <tgroup cols="1">
+ <thead>
+ <row>
+ <entry role="func_table_entry"><para role="func_signature">
+ Function
+ </para>
+ <para>
+ Description
+ </para></entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry role="func_table_entry"><para role="func_signature">
+ <indexterm>
+ <primary>prev</primary>
+ </indexterm>
+ <function>prev</function> ( <parameter>value</parameter> <type>anyelement</type> )
+ <returnvalue>anyelement</returnvalue>
+ </para>
+ <para>
+ Returns the column value at the previous row;
+ returns NULL if there is no previous row in the window frame.
+ </para></entry>
+ </row>
+
+ <row>
+ <entry role="func_table_entry"><para role="func_signature">
+ <indexterm>
+ <primary>next</primary>
+ </indexterm>
+ <function>next</function> ( <parameter>value</parameter> <type>anyelement</type> )
+ <returnvalue>anyelement</returnvalue>
+ </para>
+ <para>
+ Returns the column value at the next row;
+ returns NULL if there is no next row in the window frame.
+ </para></entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
<note>
<para>
The SQL standard defines a <literal>RESPECT NULLS</literal> or
diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index d7089eac0b..7e1c9989ba 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -969,8 +969,8 @@ WINDOW <replaceable class="parameter">window_name</replaceable> AS ( <replaceabl
The <replaceable class="parameter">frame_clause</replaceable> can be one of
<synopsis>
-{ RANGE | ROWS | GROUPS } <replaceable>frame_start</replaceable> [ <replaceable>frame_exclusion</replaceable> ]
-{ RANGE | ROWS | GROUPS } BETWEEN <replaceable>frame_start</replaceable> AND <replaceable>frame_end</replaceable> [ <replaceable>frame_exclusion</replaceable> ]
+{ RANGE | ROWS | GROUPS } <replaceable>frame_start</replaceable> [ <replaceable>frame_exclusion</replaceable> ] [row_pattern_common_syntax]
+{ RANGE | ROWS | GROUPS } BETWEEN <replaceable>frame_start</replaceable> AND <replaceable>frame_end</replaceable> [ <replaceable>frame_exclusion</replaceable> ] [row_pattern_common_syntax]
</synopsis>
where <replaceable>frame_start</replaceable>
@@ -1077,6 +1077,40 @@ EXCLUDE NO OTHERS
a given peer group will be in the frame or excluded from it.
</para>
+ <para>
+ The
+ optional <replaceable class="parameter">row_pattern_common_syntax</replaceable>
+ defines the <firstterm>row pattern recognition condition</firstterm> for
+ this
+ window. <replaceable class="parameter">row_pattern_common_syntax</replaceable>
+ includes following subclauses. <literal>AFTER MATCH SKIP PAST LAST
+ ROW</literal> or <literal>AFTER MATCH SKIP TO NEXT ROW</literal> controls
+ how to proceed to next row position after a match
+ found. With <literal>AFTER MATCH SKIP PAST LAST ROW</literal> (the
+ default) next row position is next to the last row of previous match. On
+ the other hand, with <literal>AFTER MATCH SKIP TO NEXT ROW</literal> next
+ row position is always next to the last row of previous
+ match. <literal>DEFINE</literal> defines definition variables along with a
+ boolean expression. <literal>PATTERN</literal> defines a sequence of rows
+ that satisfies certain conditions using variables defined
+ in <literal>DEFINE</literal> clause. If the variable is not defined in
+ the <literal>DEFINE</literal> clause, it is implicitly assumed
+ following is defined in the <literal>DEFINE</literal> clause.
+
+<synopsis>
+<literal>variable_name</literal> AS TRUE
+</synopsis>
+
+ Note that the maximu number of variables defined
+ in <literal>DEFINE</literal> clause is 26.
+
+<synopsis>
+[ AFTER MATCH SKIP PAST LAST ROW | AFTER MATCH SKIP TO NEXT ROW ]
+PATTERN <replaceable class="parameter">pattern_variable_name</replaceable>[+] [, ...]
+DEFINE <replaceable class="parameter">definition_varible_name</replaceable> AS <replaceable class="parameter">expression</replaceable> [, ...]
+</synopsis>
+ </para>
+
<para>
The purpose of a <literal>WINDOW</literal> clause is to specify the
behavior of <firstterm>window functions</firstterm> appearing in the query's
--
2.25.1
----Next_Part(Sat_Dec_21_18_20_04_2024_526)--
Content-Type: Text/X-Patch; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="v25-0007-Row-pattern-recognition-patch-tests.patch"
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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
--e4Q8So2tphS9ic0E--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH v2] Document wal_compression=on
@ 2026-06-29 09:58 Christoph Berg <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw)
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.
Update postgresql.conf.sample to say "on" is the same as pglz.
---
doc/src/sgml/config.sgml | 1 +
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 569fc0e7dba..7bdc85539ce 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 an 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.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ac38cddaaf9..86f2e16eba0 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -262,7 +262,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
--
2.53.0
--aOuCd2U3waCadW1P--
^ permalink raw reply [nested|flat] 391+ messages in thread
* [PATCH] Document wal_compression=on
@ 2026-06-29 10:04 Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
0 siblings, 1 reply; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 10:04 UTC (permalink / raw)
To: pgsql-hackers; +Cc: Michael Paquier <[email protected]>
The docs currently don't say what wal_compression=on is, so here is a
patch.
Christoph
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
@ 2026-06-29 10:41 ` John Naylor <[email protected]>
2026-06-29 14:16 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-30 03:53 ` Re: [PATCH] Document wal_compression=on Michael Paquier <[email protected]>
0 siblings, 2 replies; 391+ messages in thread
From: John Naylor @ 2026-06-29 10:41 UTC (permalink / raw)
To: Christoph Berg <[email protected]>; pgsql-hackers; Michael Paquier <[email protected]>
On Mon, Jun 29, 2026 at 5:04 PM Christoph Berg <[email protected]> wrote:
>
> The docs currently don't say what wal_compression=on is, so here is a
> patch.
+1 for documenting this.
+ 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'.
--
John Naylor
Amazon Web Services
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
@ 2026-06-29 14:16 ` Christoph Berg <[email protected]>
2026-06-30 10:19 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
1 sibling, 1 reply; 391+ messages in thread
From: Christoph Berg @ 2026-06-29 14:16 UTC (permalink / raw)
To: John Naylor <[email protected]>; +Cc: pgsql-hackers; Michael Paquier <[email protected]>
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
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-29 14:16 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
@ 2026-06-30 10:19 ` Christoph Berg <[email protected]>
2026-07-01 02:19 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
0 siblings, 1 reply; 391+ messages in thread
From: Christoph Berg @ 2026-06-30 10:19 UTC (permalink / raw)
To: John Naylor <[email protected]>; pgsql-hackers; Michael Paquier <[email protected]>
Re: To John Naylor
> 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>.
> Maybe we should also update the postgresql.conf.sample:
I'm attaching v2 that implements this (without the "currently").
Christoph
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-29 14:16 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-30 10:19 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
@ 2026-07-01 02:19 ` John Naylor <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: John Naylor @ 2026-07-01 02:19 UTC (permalink / raw)
To: Christoph Berg <[email protected]>; John Naylor <[email protected]>; pgsql-hackers; Michael Paquier <[email protected]>
On Tue, Jun 30, 2026 at 5:19 PM Christoph Berg <[email protected]> wrote:
> >
> > The value <literal>on</literal> is currently an alias for <literal>pglz</literal>.
>
> > Maybe we should also update the postgresql.conf.sample:
>
> I'm attaching v2 that implements this (without the "currently").
I pushed this with the change of using the language "historical
spelling" as mentioned upthread.
--
John Naylor
Amazon Web Services
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
@ 2026-06-30 03:53 ` Michael Paquier <[email protected]>
2026-06-30 09:27 ` Re: [PATCH] Document wal_compression=on wenhui qiu <[email protected]>
1 sibling, 1 reply; 391+ messages in thread
From: Michael Paquier @ 2026-06-30 03:53 UTC (permalink / raw)
To: John Naylor <[email protected]>; +Cc: Christoph Berg <[email protected]>; pgsql-hackers
On Mon, Jun 29, 2026 at 05:41:27PM +0700, John Naylor wrote:
> + 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'.
+1.
--
Michael
Attachments:
[application/pgp-signature] signature.asc (833B, ../../[email protected]/2-signature.asc)
download
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 03:53 ` Re: [PATCH] Document wal_compression=on Michael Paquier <[email protected]>
@ 2026-06-30 09:27 ` wenhui qiu <[email protected]>
2026-06-30 09:48 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
0 siblings, 1 reply; 391+ messages in thread
From: wenhui qiu @ 2026-06-30 09:27 UTC (permalink / raw)
To: Michael Paquier <[email protected]>; +Cc: John Naylor <[email protected]>; Christoph Berg <[email protected]>; pgsql-hackers
> Hi
>
> The recent PostgreSQL commit changes the default TOAST compression to lz4 when
> LZ4 support is available, based on the rationale that LZ4 is generally more
> efficient than pglz in terms of CPU usage and compression ratio.Given
> that, should we also consider changing the default compression method used
> by wal_compression = on from pglz to lz4?
>
Currently, wal_compression = on still maps to pglz, while lz4 has to be
> selected explicitly with:
>
> wal_compression = lz4
>
> If LZ4 is now considered stable and preferable enough to become the
> default for TOAST compression, it may be worth aligning WAL compression
> behavior as well, or at least discussing whether on should continue to
> imply pglz.
>
Thanks
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 03:53 ` Re: [PATCH] Document wal_compression=on Michael Paquier <[email protected]>
2026-06-30 09:27 ` Re: [PATCH] Document wal_compression=on wenhui qiu <[email protected]>
@ 2026-06-30 09:48 ` John Naylor <[email protected]>
2026-06-30 09:57 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
0 siblings, 1 reply; 391+ messages in thread
From: John Naylor @ 2026-06-30 09:48 UTC (permalink / raw)
To: wenhui qiu <[email protected]>; +Cc: Michael Paquier <[email protected]>; Christoph Berg <[email protected]>; pgsql-hackers
On Tue, Jun 30, 2026 at 4:27 PM wenhui qiu <[email protected]> wrote:
>> The recent PostgreSQL commit changes the default TOAST compression to lz4 when LZ4 support is available, based on the rationale that LZ4 is generally more efficient than pglz in terms of CPU usage and compression ratio.Given that, should we also consider changing the default compression method used by wal_compression = on from pglz to lz4?
FYI, default value of wal_compression is "off".
--
John Naylor
Amazon Web Services
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 03:53 ` Re: [PATCH] Document wal_compression=on Michael Paquier <[email protected]>
2026-06-30 09:27 ` Re: [PATCH] Document wal_compression=on wenhui qiu <[email protected]>
2026-06-30 09:48 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
@ 2026-06-30 09:57 ` Christoph Berg <[email protected]>
2026-06-30 10:07 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
0 siblings, 1 reply; 391+ messages in thread
From: Christoph Berg @ 2026-06-30 09:57 UTC (permalink / raw)
To: John Naylor <[email protected]>; +Cc: wenhui qiu <[email protected]>; Michael Paquier <[email protected]>; 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
^ permalink raw reply [nested|flat] 391+ messages in thread
* Re: [PATCH] Document wal_compression=on
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 03:53 ` Re: [PATCH] Document wal_compression=on Michael Paquier <[email protected]>
2026-06-30 09:27 ` Re: [PATCH] Document wal_compression=on wenhui qiu <[email protected]>
2026-06-30 09:48 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 09:57 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
@ 2026-06-30 10:07 ` John Naylor <[email protected]>
0 siblings, 0 replies; 391+ messages in thread
From: John Naylor @ 2026-06-30 10:07 UTC (permalink / raw)
To: Christoph Berg <[email protected]>; John Naylor <[email protected]>; wenhui qiu <[email protected]>; Michael Paquier <[email protected]>; pgsql-hackers
On Tue, Jun 30, 2026 at 4:57 PM Christoph Berg <[email protected]> wrote:
>
> 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.
The thread subject is about documenting the state of affairs that have
existed since PG15. If you want to propose a change in behavior for
master, that's material for a separate thread.
--
John Naylor
Amazon Web Services
^ permalink raw reply [nested|flat] 391+ messages in thread
end of thread, other threads:[~2026-07-01 02:19 UTC | newest]
Thread overview: 391+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-12-21 06:19 [PATCH v25 6/9] Row pattern recognition patch (docs). Tatsuo Ishii <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 09:58 [PATCH v2] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:04 [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-29 10:41 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-29 14:16 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-30 10:19 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-07-01 02:19 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 03:53 ` Re: [PATCH] Document wal_compression=on Michael Paquier <[email protected]>
2026-06-30 09:27 ` Re: [PATCH] Document wal_compression=on wenhui qiu <[email protected]>
2026-06-30 09:48 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
2026-06-30 09:57 ` Re: [PATCH] Document wal_compression=on Christoph Berg <[email protected]>
2026-06-30 10:07 ` Re: [PATCH] Document wal_compression=on John Naylor <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox