| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | christophe(dot)courtois(at)dalibo(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: wal_compression = on: what is the algorithm? |
| Date: | 2024-11-20 16:22:51 |
| Message-ID: | Zz4M245abV1aujo5@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Fri, Nov 15, 2024 at 03:30:59PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/16/runtime-config-wal.html
> Description:
>
> In
> https://www.postgresql.org/docs/16/runtime-config-wal.html#GUC-WAL-COMPRESSION,
> the option "on" is not described:
>
> “The supported methods are pglz, lz4 (if PostgreSQL was compiled with
> --with-lz4) and zstd (if PostgreSQL was compiled with --with-zstd). The
> default value is off. ”
>
> "on" was an available option before PG 15, and still seen in some docs.
> If I understand the code in src/backend/utils/misc/guc_tables.c, "on" is the
> same as "pglz". So I suggest:
>
> “The supported methods are pglz, lz4 (if PostgreSQL was compiled with
> --with-lz4) and zstd (if PostgreSQL was compiled with --with-zstd). The
> default value is off. The value on is synonym of pglz.”
I think we kept 'on' just for backward compatibility, so we don't
mention it in the docs anymore.
--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com
When a patient asks the doctor, "Am I going to die?", he means
"Am I going to die soon?"
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2024-11-21 01:12:30 | Re: wal_compression = on: what is the algorithm? |
| Previous Message | Daniel Gustafsson | 2024-11-20 14:59:04 | Re: A minor bug in doc. Hovering over heading shows # besides it. |