Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0e1c4b7

Browse files
committed
Rewrite comment for slightly greater accuracy.
Per an observation from Thom Brown that the old version contained a typo.
1 parent bb1afb5 commit 0e1c4b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/commands/vacuumlazy.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,9 @@ lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats,
488488
if (!ConditionalLockBufferForCleanup(buf))
489489
{
490490
/*
491-
* It's OK to skip vacuuming a page, as long as its not got data
492-
* that needs to be cleaned for wraparound avoidance.
491+
* If we're not scanning the whole relation to guard against XID
492+
* wraparound, it's OK to skip vacuuming a page. The next vacuum
493+
* will clean it up.
493494
*/
494495
if (!scan_all)
495496
{

0 commit comments

Comments
 (0)