agora inbox for [email protected]help / color / mirror / Atom feed
[PATCH v2a 3/4] Add alias to be used as "unset" state. 401+ messages / 5 participants [nested] [flat]
* [PATCH v2a 3/4] Add alias to be used as "unset" state. @ 2025-09-04 16:22 Nikolay Shaplov <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Nikolay Shaplov @ 2025-09-04 16:22 UTC (permalink / raw) Add `unset_alias` string parameter to ternary reloption definition. This will allow user explicitly switch ternary option to "unset" state. Use this feature to implement `vacuum_index_cleanup` and gist's `buffering` reloptions as ternary reloptions --- src/backend/access/common/reloptions.c | 91 +++++++++++--------------- src/backend/access/gist/gistbuild.c | 4 +- src/backend/commands/vacuum.c | 11 ++-- src/include/access/gist_private.h | 10 +-- src/include/access/reloptions.h | 7 +- src/include/utils/rel.h | 10 +-- src/test/regress/expected/gist.out | 3 +- 7 files changed, 54 insertions(+), 82 deletions(-) diff --git a/src/backend/access/common/reloptions.c b/src/backend/access/common/reloptions.c index f543f11001..3637646641 100644 --- a/src/backend/access/common/reloptions.c +++ b/src/backend/access/common/reloptions.c @@ -170,6 +170,27 @@ static relopt_ternary ternaryRelOpts[] = RELOPT_KIND_HEAP | RELOPT_KIND_TOAST, ShareUpdateExclusiveLock }, + NULL, + TERNARY_UNSET + }, + { + { + "vacuum_index_cleanup", + "Controls index vacuuming and index cleanup", + RELOPT_KIND_HEAP | RELOPT_KIND_TOAST, + ShareUpdateExclusiveLock + }, + "auto", + TERNARY_UNSET + }, + { + { + "buffering", + "Enables buffering build for this GiST index", + RELOPT_KIND_GIST, + AccessExclusiveLock + }, + "auto", TERNARY_UNSET }, /* list terminator */ @@ -489,30 +510,6 @@ static relopt_real realRelOpts[] = {{NULL}} }; -/* values from StdRdOptIndexCleanup */ -static relopt_enum_elt_def StdRdOptIndexCleanupValues[] = -{ - {"auto", STDRD_OPTION_VACUUM_INDEX_CLEANUP_AUTO}, - {"on", STDRD_OPTION_VACUUM_INDEX_CLEANUP_ON}, - {"off", STDRD_OPTION_VACUUM_INDEX_CLEANUP_OFF}, - {"true", STDRD_OPTION_VACUUM_INDEX_CLEANUP_ON}, - {"false", STDRD_OPTION_VACUUM_INDEX_CLEANUP_OFF}, - {"yes", STDRD_OPTION_VACUUM_INDEX_CLEANUP_ON}, - {"no", STDRD_OPTION_VACUUM_INDEX_CLEANUP_OFF}, - {"1", STDRD_OPTION_VACUUM_INDEX_CLEANUP_ON}, - {"0", STDRD_OPTION_VACUUM_INDEX_CLEANUP_OFF}, - {(const char *) NULL} /* list terminator */ -}; - -/* values from GistOptBufferingMode */ -static relopt_enum_elt_def gistBufferingOptValues[] = -{ - {"auto", GIST_OPTION_BUFFERING_AUTO}, - {"on", GIST_OPTION_BUFFERING_ON}, - {"off", GIST_OPTION_BUFFERING_OFF}, - {(const char *) NULL} /* list terminator */ -}; - /* values from ViewOptCheckOption */ static relopt_enum_elt_def viewCheckOptValues[] = { @@ -524,28 +521,6 @@ static relopt_enum_elt_def viewCheckOptValues[] = static relopt_enum enumRelOpts[] = { - { - { - "vacuum_index_cleanup", - "Controls index vacuuming and index cleanup", - RELOPT_KIND_HEAP | RELOPT_KIND_TOAST, - ShareUpdateExclusiveLock - }, - StdRdOptIndexCleanupValues, - STDRD_OPTION_VACUUM_INDEX_CLEANUP_AUTO, - gettext_noop("Valid values are \"on\", \"off\", and \"auto\".") - }, - { - { - "buffering", - "Enables buffering build for this GiST index", - RELOPT_KIND_GIST, - AccessExclusiveLock - }, - gistBufferingOptValues, - GIST_OPTION_BUFFERING_AUTO, - gettext_noop("Valid values are \"on\", \"off\", and \"auto\".") - }, { { "check_option", @@ -913,13 +888,14 @@ add_local_bool_reloption(local_relopts *relopts, const char *name, */ static relopt_ternary * init_ternary_reloption(bits32 kinds, const char *name, const char *desc, - ternary default_val, LOCKMODE lockmode) + ternary default_val, const char* unset_alias, LOCKMODE lockmode) { relopt_ternary *newoption; newoption = (relopt_ternary *) allocate_reloption(kinds, RELOPT_TYPE_TERNARY, name, desc, lockmode); newoption->default_val = default_val; + newoption->unset_alias = unset_alias; return newoption; } @@ -930,10 +906,10 @@ init_ternary_reloption(bits32 kinds, const char *name, const char *desc, */ void add_ternary_reloption(bits32 kinds, const char *name, const char *desc, - ternary default_val, LOCKMODE lockmode) + ternary default_val, const char* unset_alias, LOCKMODE lockmode) { relopt_ternary *newoption = init_ternary_reloption(kinds, name, desc, - default_val, lockmode); + default_val, unset_alias, lockmode); add_reloption((relopt_gen *) newoption); } @@ -947,11 +923,11 @@ add_ternary_reloption(bits32 kinds, const char *name, const char *desc, void add_local_ternary_reloption(local_relopts *relopts, const char *name, const char *desc, ternary default_val, - int offset) + const char* unset_alias, int offset) { relopt_ternary *newoption = init_ternary_reloption(RELOPT_KIND_LOCAL, name, desc, - default_val, 0); + default_val, unset_alias, 0); add_local_reloption(relopts, (relopt_gen *) newoption, offset); } @@ -1692,8 +1668,19 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len, case RELOPT_TYPE_TERNARY: { bool b; + relopt_ternary *opt = (relopt_ternary *) option->gen; + parsed = parse_bool(value, &b); option->values.ternary_val = b ? TERNARY_TRUE : TERNARY_FALSE; + + if (!parsed && opt->unset_alias) + { + if (pg_strcasecmp(value, opt->unset_alias) == 0) + { + option->values.ternary_val = TERNARY_UNSET; + parsed = true; + } + } if (validate && !parsed) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), @@ -1988,7 +1975,7 @@ default_reloptions(Datum reloptions, bool validate, relopt_kind kind) offsetof(StdRdOptions, user_catalog_table)}, {"parallel_workers", RELOPT_TYPE_INT, offsetof(StdRdOptions, parallel_workers)}, - {"vacuum_index_cleanup", RELOPT_TYPE_ENUM, + {"vacuum_index_cleanup", RELOPT_TYPE_TERNARY, offsetof(StdRdOptions, vacuum_index_cleanup)}, {"vacuum_truncate", RELOPT_TYPE_TERNARY, offsetof(StdRdOptions, vacuum_truncate)}, diff --git a/src/backend/access/gist/gistbuild.c b/src/backend/access/gist/gistbuild.c index 9b2ec9815f..7f641f7825 100644 --- a/src/backend/access/gist/gistbuild.c +++ b/src/backend/access/gist/gistbuild.c @@ -213,9 +213,9 @@ gistbuild(Relation heap, Relation index, IndexInfo *indexInfo) */ if (options) { - if (options->buffering_mode == GIST_OPTION_BUFFERING_ON) + if (options->buffering_mode == TERNARY_TRUE) buildstate.buildMode = GIST_BUFFERING_STATS; - else if (options->buffering_mode == GIST_OPTION_BUFFERING_OFF) + else if (options->buffering_mode == TERNARY_FALSE) buildstate.buildMode = GIST_BUFFERING_DISABLED; else /* must be "auto" */ buildstate.buildMode = GIST_BUFFERING_AUTO; diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index 977babff54..61b4bdb682 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -2175,22 +2175,21 @@ vacuum_rel(Oid relid, RangeVar *relation, VacuumParams params, */ if (params.index_cleanup == VACOPTVALUE_UNSPECIFIED) { - StdRdOptIndexCleanup vacuum_index_cleanup; + ternary vacuum_index_cleanup; if (rel->rd_options == NULL) - vacuum_index_cleanup = STDRD_OPTION_VACUUM_INDEX_CLEANUP_AUTO; + vacuum_index_cleanup = TERNARY_UNSET; else vacuum_index_cleanup = ((StdRdOptions *) rel->rd_options)->vacuum_index_cleanup; - if (vacuum_index_cleanup == STDRD_OPTION_VACUUM_INDEX_CLEANUP_AUTO) + if (vacuum_index_cleanup == TERNARY_UNSET) params.index_cleanup = VACOPTVALUE_AUTO; - else if (vacuum_index_cleanup == STDRD_OPTION_VACUUM_INDEX_CLEANUP_ON) + else if (vacuum_index_cleanup == TERNARY_TRUE) params.index_cleanup = VACOPTVALUE_ENABLED; else { - Assert(vacuum_index_cleanup == - STDRD_OPTION_VACUUM_INDEX_CLEANUP_OFF); + Assert(vacuum_index_cleanup == TERNARY_FALSE); params.index_cleanup = VACOPTVALUE_DISABLED; } } diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h index 39404ec7cd..a931c988fb 100644 --- a/src/include/access/gist_private.h +++ b/src/include/access/gist_private.h @@ -380,14 +380,6 @@ typedef struct GISTBuildBuffers int rootlevel; } GISTBuildBuffers; -/* GiSTOptions->buffering_mode values */ -typedef enum GistOptBufferingMode -{ - GIST_OPTION_BUFFERING_AUTO, - GIST_OPTION_BUFFERING_ON, - GIST_OPTION_BUFFERING_OFF, -} GistOptBufferingMode; - /* * Storage type for GiST's reloptions */ @@ -395,7 +387,7 @@ typedef struct GiSTOptions { int32 vl_len_; /* varlena header (do not touch directly!) */ int fillfactor; /* page fill factor in percent (0..100) */ - GistOptBufferingMode buffering_mode; /* buffering build mode */ + ternary buffering_mode; /* buffering build mode */ } GiSTOptions; /* gist.c */ diff --git a/src/include/access/reloptions.h b/src/include/access/reloptions.h index a436697658..552c89869f 100644 --- a/src/include/access/reloptions.h +++ b/src/include/access/reloptions.h @@ -99,6 +99,7 @@ typedef struct relopt_bool typedef struct relopt_rernary { relopt_gen gen; + const char *unset_alias; /* word that will be treated as unset value */ int default_val; } relopt_ternary; @@ -191,7 +192,8 @@ extern relopt_kind add_reloption_kind(void); extern void add_bool_reloption(bits32 kinds, const char *name, const char *desc, bool default_val, LOCKMODE lockmode); extern void add_ternary_reloption(bits32 kinds, const char *name, - const char *desc, int default_val, LOCKMODE lockmode); + const char *desc, ternary default_val, + const char* unset_alias, LOCKMODE lockmode); extern void add_int_reloption(bits32 kinds, const char *name, const char *desc, int default_val, int min_val, int max_val, LOCKMODE lockmode); @@ -213,7 +215,8 @@ extern void add_local_bool_reloption(local_relopts *relopts, const char *name, int offset); extern void add_local_ternary_reloption(local_relopts *relopts, const char *name, const char *desc, - ternary default_val, int offset); + ternary default_val, const char* unset_alias, + int offset); extern void add_local_int_reloption(local_relopts *relopts, const char *name, const char *desc, int default_val, int min_val, int max_val, int offset); diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 7346d618f9..95a18c6d16 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -329,14 +329,6 @@ typedef struct AutoVacOpts float8 analyze_scale_factor; } AutoVacOpts; -/* StdRdOptions->vacuum_index_cleanup values */ -typedef enum StdRdOptIndexCleanup -{ - STDRD_OPTION_VACUUM_INDEX_CLEANUP_AUTO = 0, - STDRD_OPTION_VACUUM_INDEX_CLEANUP_OFF, - STDRD_OPTION_VACUUM_INDEX_CLEANUP_ON, -} StdRdOptIndexCleanup; - typedef struct StdRdOptions { int32 vl_len_; /* varlena header (do not touch directly!) */ @@ -345,7 +337,7 @@ typedef struct StdRdOptions AutoVacOpts autovacuum; /* autovacuum-related options */ bool user_catalog_table; /* use as an additional catalog relation */ int parallel_workers; /* max number of parallel workers */ - StdRdOptIndexCleanup vacuum_index_cleanup; /* controls index vacuuming */ + ternary vacuum_index_cleanup; /* controls index vacuuming */ ternary vacuum_truncate; /* enables vacuum to truncate a relation */ /* diff --git a/src/test/regress/expected/gist.out b/src/test/regress/expected/gist.out index c75bbb23b6..76751d1859 100644 --- a/src/test/regress/expected/gist.out +++ b/src/test/regress/expected/gist.out @@ -12,8 +12,7 @@ create index gist_pointidx4 on gist_point_tbl using gist(p) with (buffering = au drop index gist_pointidx2, gist_pointidx3, gist_pointidx4; -- Make sure bad values are refused create index gist_pointidx5 on gist_point_tbl using gist(p) with (buffering = invalid_value); -ERROR: invalid value for enum option "buffering": invalid_value -DETAIL: Valid values are "on", "off", and "auto". +ERROR: invalid value for ternary option "buffering": invalid_value create index gist_pointidx5 on gist_point_tbl using gist(p) with (fillfactor=9); ERROR: value 9 out of bounds for option "fillfactor" DETAIL: Valid values are between "10" and "100". -- 2.39.2 --nextPart4155600.3ZeAukHxDK Content-Disposition: attachment; filename="v2a-0004-Extra-tests.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="unicode-2-0-utf-8"; name="v2a-0004-Extra-tests.patch" ^ permalink raw reply [nested|flat] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH v2] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 09:58 Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ messages in thread From: Christoph Berg @ 2026-06-29 09:58 UTC (permalink / raw) This was not included when 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] 401+ messages in thread
* [PATCH] Document wal_compression=on @ 2026-06-29 10:04 Christoph Berg <[email protected]> 0 siblings, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-29 10:41 John Naylor <[email protected]> parent: Christoph Berg <[email protected]> 0 siblings, 2 replies; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-29 14:16 Christoph Berg <[email protected]> parent: John Naylor <[email protected]> 1 sibling, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-30 03:53 Michael Paquier <[email protected]> parent: John Naylor <[email protected]> 1 sibling, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-30 09:27 wenhui qiu <[email protected]> parent: Michael Paquier <[email protected]> 0 siblings, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-30 09:48 John Naylor <[email protected]> parent: wenhui qiu <[email protected]> 0 siblings, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-30 09:57 Christoph Berg <[email protected]> parent: John Naylor <[email protected]> 0 siblings, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-30 10:07 John Naylor <[email protected]> parent: Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-06-30 10:19 Christoph Berg <[email protected]> parent: Christoph Berg <[email protected]> 0 siblings, 1 reply; 401+ 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] 401+ messages in thread
* Re: [PATCH] Document wal_compression=on @ 2026-07-01 02:19 John Naylor <[email protected]> parent: Christoph Berg <[email protected]> 0 siblings, 0 replies; 401+ 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] 401+ messages in thread
end of thread, other threads:[~2026-07-01 02:19 UTC | newest] Thread overview: 401+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-09-04 16:22 [PATCH v2a 3/4] Add alias to be used as "unset" state. Nikolay Shaplov <[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] 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] 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] 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 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 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] 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 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] 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] 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] 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] 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] 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 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 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 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] 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 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] 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 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] 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] 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 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] 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] 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 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] 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] 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 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] 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 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] 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] 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 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] 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 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 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 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] 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 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 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 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 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