From: Robert Haas Date: Tue, 8 Nov 2011 13:11:25 +0000 (-0500) Subject: Rewrite comment for slightly greater accuracy. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=0e1c4b7d974b9ff3b1cd62a9689a8560a8bab60e;p=users%2Fhanada%2Fpostgres.git Rewrite comment for slightly greater accuracy. Per an observation from Thom Brown that the old version contained a typo. --- diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c index bbf8b8d084..38deddc47c 100644 --- a/src/backend/commands/vacuumlazy.c +++ b/src/backend/commands/vacuumlazy.c @@ -488,8 +488,9 @@ lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats, if (!ConditionalLockBufferForCleanup(buf)) { /* - * It's OK to skip vacuuming a page, as long as its not got data - * that needs to be cleaned for wraparound avoidance. + * If we're not scanning the whole relation to guard against XID + * wraparound, it's OK to skip vacuuming a page. The next vacuum + * will clean it up. */ if (!scan_all) {