]> granicus.if.org Git - postgresql/commitdiff
Fix comment to be more accurate.
authorRobert Haas <rhaas@postgresql.org>
Fri, 3 Jun 2016 15:51:50 +0000 (11:51 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 3 Jun 2016 15:56:57 +0000 (11:56 -0400)
Now that we skip vacuuming all-frozen pages, this comment needs
updating.

Masahiko Sawada

src/backend/commands/vacuumlazy.c

index e39321b0c76821d1fef3ba2021013536678d42dc..784c3e935649db6130ecf1ca09f386e04df62ab3 100644 (file)
@@ -252,8 +252,8 @@ lazy_vacuum_rel(Relation onerel, int options, VacuumParams *params,
        vac_close_indexes(nindexes, Irel, NoLock);
 
        /*
-        * Compute whether we actually scanned the whole relation. If we did, we
-        * can adjust relfrozenxid and relminmxid.
+        * Compute whether we actually scanned the all unfrozen pages. If we did,
+        * we can adjust relfrozenxid and relminmxid.
         *
         * NB: We need to check this before truncating the relation, because that
         * will change ->rel_pages.