mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03: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:
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user