agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
From: Toppr Tenali <shreeharish271203@gmail.com>
To: pgsql-docs@lists.postgresql.org
Subject: Clarify base backups and local pg_wal recycling
Date: Tue, 29 Sep 2026 21:03:01 +0530
Message-ID: <91E1FA52-66B0-44F5-91C6-17FF3B5D23AB@gmail.com> (raw)


Hello,

I would like to suggest a clarification to the PostgreSQL documentation regarding base backups and local WAL recycling.

The documentation explains separately that:

- archived WAL required by a base backup can eventually be deleted once that backup is safely archived
- WAL segments in pg_wal can be recycled or removed after they are no longer needed and, when archiving is enabled, have been successfully archived.

However, I could not find an explicit statement about whether taking or completing a base backup itself affects when WAL segments in the local pg_wal directory become eligible for recycling/removal.

Could the documentation explicitly clarify this relationship? This distinction is easy to miss when reading the base-backup and WAL-archiving sections together.

Thank you.

Best regards,
Tenali






view thread (3+ messages)  latest in thread

Message-ID: <91E1FA52-66B0-44F5-91C6-17FF3B5D23AB@gmail.com>
Permalink:  ../91E1FA52-66B0-44F5-91C6-17FF3B5D23AB@gmail.com/
Also on:    postgresql.org/message-id/91E1FA52-66B0-44F5-91C6-17FF3B5D23AB@gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: shreeharish271203@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Clarify base backups and local pg_wal recycling
  In-Reply-To: <91E1FA52-66B0-44F5-91C6-17FF3B5D23AB@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox