Commit 0e1c4b7d authored by Robert Haas's avatar Robert Haas

Rewrite comment for slightly greater accuracy.

Per an observation from Thom Brown that the old version contained a typo.
parent bb1afb52
...@@ -488,8 +488,9 @@ lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats, ...@@ -488,8 +488,9 @@ lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats,
if (!ConditionalLockBufferForCleanup(buf)) if (!ConditionalLockBufferForCleanup(buf))
{ {
/* /*
* It's OK to skip vacuuming a page, as long as its not got data * If we're not scanning the whole relation to guard against XID
* that needs to be cleaned for wraparound avoidance. * wraparound, it's OK to skip vacuuming a page. The next vacuum
* will clean it up.
*/ */
if (!scan_all) if (!scan_all)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment