diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 607dafcb2ed..c688ed05f72 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3457,6 +3457,7 @@ include_dir 'conf.d'
was compiled with ) and
zstd (if PostgreSQL
was compiled with ).
+ The value on is a historical spelling of pglz.
The default value is off.
Only superusers and users with the appropriate SET
privilege can change this setting.
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index d91133dbd73..0857667d0d6 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -250,7 +250,7 @@
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_compression = off # enables compression of full-page writes;
- # off, pglz, lz4, zstd, or on
+ # off, pglz (or "on"), lz4, or zstd
#wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers