Skip to content

Commit b5d87a8

Browse files
committed
doc: Improve description of wal_compression
The description of this GUC provides a list of the situations where full-page writes are generated. However, it is not completely exact, mentioning only the cases where full_page_writes=on or base backups. It is possible to generate full-page writes in more situations than these two, making the description confusing as it implies that no other cases exist. The description is slightly reworded to take into account that other cases are possible, without mentioning them directly to minimize the maintenance burden should FPWs be generated in more contexts in the future. Author: Jingtang Zhang <mrdrivingduck@gmail.com> Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru> Reviewed-by: Xuneng Zhou <xunengzhou@gmail.com> Discussion: https://postgr.es/m/CAPsk3_CtAYa_fy4p6=x7qtoutrdKvg1kGk46D5fsE=sMt2546g@mail.gmail.com Backpatch-through: 13
1 parent a67d484 commit b5d87a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3399,8 +3399,9 @@ include_dir 'conf.d'
33993399
This parameter enables compression of WAL using the specified
34003400
compression method.
34013401
When enabled, the <productname>PostgreSQL</productname>
3402-
server compresses full page images written to WAL when
3403-
<xref linkend="guc-full-page-writes"/> is on or during a base backup.
3402+
server compresses full page images written to WAL (e.g. when
3403+
<xref linkend="guc-full-page-writes"/> is on, during a base backup,
3404+
etc.).
34043405
A compressed page image will be decompressed during WAL replay.
34053406
The supported methods are <literal>pglz</literal>,
34063407
<literal>lz4</literal> (if <productname>PostgreSQL</productname>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy