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:
Robert Haas 2016-06-03 11:51:50 -04:00
parent 6c72a28e5c
commit 6436a853f1
1 changed files with 2 additions and 2 deletions

View File

@ -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.