C comment: clarify that WAL files can be _recycled_ or removed

Reported-by: Michael Paquier

Discussion: https://postgr.es/m/CAB7nPqSDdF0heotQU3gsepgqx+9c+6KjLd3R6aNYH7KKfDd2ig@mail.gmail.com

Author: Michael Paquier

Backpatch-through: master
This commit is contained in:
Bruce Momjian 2023-11-25 10:48:18 -05:00
parent 79588d3c8d
commit 8d981341a5
1 changed files with 2 additions and 1 deletions

View File

@ -3692,7 +3692,8 @@ RemoveOldXlogFiles(XLogSegNo segno, XLogRecPtr lastredoptr, XLogRecPtr endptr,
}
/*
* Remove WAL files that are not part of the given timeline's history.
* Recycle or remove WAL files that are not part of the given timeline's
* history.
*
* This is called during recovery, whenever we switch to follow a new
* timeline, and at the end of recovery when we create a new timeline. We