Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d98134

Browse filesBrowse 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
Copy full SHA for 8d98134

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
  • src/backend/access/transam
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎src/backend/access/transam/xlog.c

Copy file name to clipboardExpand all lines: src/backend/access/transam/xlog.c
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.