diff options
author | Bruce Momjian <bruce@momjian.us> | 2023-11-25 10:48:18 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2023-11-25 10:48:18 -0500 |
commit | 8d981341a552e31244f2e9992e143b56bf0292fc (patch) | |
tree | 3eeb9dd39caa8c183339750b290a0db5421c46d7 /src/backend/access/transam/xlog.c | |
parent | 79588d3c8d08b8653dfc523d6ae5168652c6ff8a (diff) | |
download | postgresql-8d981341a552e31244f2e9992e143b56bf0292fc.tar.gz postgresql-8d981341a552e31244f2e9992e143b56bf0292fc.zip |
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
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 1159dff1a69..ef9b8e4fb96 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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 |