Clarify base backups and local pg_wal recycling

From: Toppr Tenali <shreeharish271203(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Clarify base backups and local pg_wal recycling
Date: 2026-09-29 15:33:01
Message-ID: 91E1FA52-66B0-44F5-91C6-17FF3B5D23AB@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs


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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Oli Sennhauser 2026-09-29 15:34:27 Re: Little formatting issues in doc
Previous Message David Rowley 2026-09-29 13:36:07 Re: [Minor] Leftover sentence in "2.7. Aggregate Functions"