vacuumlazy.c: Remove obsolete 'onecall' comment.

Remove obsolete reference to lazy_vacuum()'s onecall argument.  The
function argument was removed by commit 3499df0dee.

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 c242baa4a8 taught VACUUM to consider triggering the
failsafe mechanism during its initial heap scan.
This commit is contained in:
Peter Geoghegan 2021-09-25 10:22:53 -07:00
parent 7b0be9fb2d
commit c1a47dfe2e
1 changed files with 1 additions and 7 deletions

View File

@ -2073,13 +2073,7 @@ retry:
*
* We may choose to bypass index vacuuming at this point, though only when the
* ongoing VACUUM operation will definitely only have one index scan/round of
* index vacuuming. Caller indicates whether or not this is such a VACUUM
* operation using 'onecall' argument.
*
* In rare emergencies, the ongoing VACUUM operation can be made to skip both
* index vacuuming and index cleanup at the point we're called. This avoids
* having the whole system refuse to allocate further XIDs/MultiXactIds due to
* wraparound.
* index vacuuming.
*/
static void
lazy_vacuum(LVRelState *vacrel)