Skip to content

Commit c1a47df

Browse files
vacuumlazy.c: Remove obsolete 'onecall' comment.
Remove obsolete reference to lazy_vacuum()'s onecall argument. The function argument was removed by commit 3499df0. Also remove adjoining comment block that introduces the wraparound failsafe concept. Talking about the failsafe here no longer makes sense, since lazy_vacuum() (and related functions) are no longer the only place where the failsafe might be triggered. This has been the case since commit c242baa taught VACUUM to consider triggering the failsafe mechanism during its initial heap scan.
1 parent 7b0be9f commit c1a47df

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/backend/access/heap/vacuumlazy.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,13 +2073,7 @@ lazy_scan_prune(LVRelState *vacrel,
20732073
*
20742074
* We may choose to bypass index vacuuming at this point, though only when the
20752075
* ongoing VACUUM operation will definitely only have one index scan/round of
2076-
* index vacuuming. Caller indicates whether or not this is such a VACUUM
2077-
* operation using 'onecall' argument.
2078-
*
2079-
* In rare emergencies, the ongoing VACUUM operation can be made to skip both
2080-
* index vacuuming and index cleanup at the point we're called. This avoids
2081-
* having the whole system refuse to allocate further XIDs/MultiXactIds due to
2082-
* wraparound.
2076+
* index vacuuming.
20832077
*/
20842078
static void
20852079
lazy_vacuum(LVRelState *vacrel)

0 commit comments

Comments
 (0)