Skip to content

Commit 8d98134

Browse files
committed
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
1 parent 79588d3 commit 8d98134

File tree

1 file changed

+2
-1
lines changed
  • src/backend/access/transam

1 file changed

+2
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3692,7 +3692,8 @@ RemoveOldXlogFiles(XLogSegNo segno, XLogRecPtr lastredoptr, XLogRecPtr endptr,
36923692
}
36933693

36943694
/*
3695-
* Remove WAL files that are not part of the given timeline's history.
3695+
* Recycle or remove WAL files that are not part of the given timeline's
3696+
* history.
36963697
*
36973698
* This is called during recovery, whenever we switch to follow a new
36983699
* timeline, and at the end of recovery when we create a new timeline. We

0 commit comments

Comments
 (0)