Rewrite comment for slightly greater accuracy.

Per an observation from Thom Brown that the old version contained a typo.
This commit is contained in:
Robert Haas 2011-11-08 08:11:25 -05:00
parent bb1afb528a
commit 0e1c4b7d97

View File

@ -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)
{