Fix comment to be more accurate.
Now that we skip vacuuming all-frozen pages, this comment needs updating. Masahiko Sawada
This commit is contained in:
parent
6c72a28e5c
commit
6436a853f1
@ -252,8 +252,8 @@ lazy_vacuum_rel(Relation onerel, int options, VacuumParams *params,
|
|||||||
vac_close_indexes(nindexes, Irel, NoLock);
|
vac_close_indexes(nindexes, Irel, NoLock);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compute whether we actually scanned the whole relation. If we did, we
|
* Compute whether we actually scanned the all unfrozen pages. If we did,
|
||||||
* can adjust relfrozenxid and relminmxid.
|
* we can adjust relfrozenxid and relminmxid.
|
||||||
*
|
*
|
||||||
* NB: We need to check this before truncating the relation, because that
|
* NB: We need to check this before truncating the relation, because that
|
||||||
* will change ->rel_pages.
|
* will change ->rel_pages.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user