mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Rewrite comment for slightly greater accuracy.
Per an observation from Thom Brown that the old version contained a typo.
This commit is contained in:
parent
bb1afb528a
commit
0e1c4b7d97
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user