From b0d6ceb6799889e3d9269948342a249c67c71341 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Thu, 12 Dec 2024 23:46:23 +0900 Subject: [PATCH v2] doc: Clarify old WAL files are kept until they are summarized. The documentation in wal.sgml explains that old WAL files cannot be removed or recycled until they are archived (when WAL archiving is used) or replicated (when using replication slots). However, it did not mention that, similarly, old WAL files are also kept until they are summarized if WAL summarization is enabled. This commit adds that clarification to the documentation. Back-patch to v17 where WAL summarization was added. Author: Fujii Masao Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/fd0eb0a5-f43b-4e06-b450-cbca011b6cff@oss.nttdata.com --- doc/src/sgml/wal.sgml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index a34cddb5ed..b908720ade 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -643,6 +643,9 @@ until the situation is resolved. A slow or failed standby server that uses a replication slot will have the same effect (see ). + Similarly, if + WAL summarization is enabled, old segments are kept + until they are summarized. -- 2.47.0