Skip to content

Commit 6436a85

Browse files
committed
Fix comment to be more accurate.
Now that we skip vacuuming all-frozen pages, this comment needs updating. Masahiko Sawada
1 parent 6c72a28 commit 6436a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/vacuumlazy.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ lazy_vacuum_rel(Relation onerel, int options, VacuumParams *params,
252252
vac_close_indexes(nindexes, Irel, NoLock);
253253

254254
/*
255-
* Compute whether we actually scanned the whole relation. If we did, we
256-
* can adjust relfrozenxid and relminmxid.
255+
* Compute whether we actually scanned the all unfrozen pages. If we did,
256+
* we can adjust relfrozenxid and relminmxid.
257257
*
258258
* NB: We need to check this before truncating the relation, because that
259259
* will change ->rel_pages.

0 commit comments

Comments
 (0)