aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-06-03 11:51:50 -0400
committerRobert Haas <rhaas@postgresql.org>2016-06-03 11:56:57 -0400
commit6436a853f11952495f10e62d8b52b465e119155c (patch)
tree31a92f90be63695787ee26018963e735400359ba
parent6c72a28e5ce36a964bbcac2fe6b0b7bcd9251667 (diff)
downloadpostgresql-6436a853f11952495f10e62d8b52b465e119155c.tar.gz
postgresql-6436a853f11952495f10e62d8b52b465e119155c.zip
Fix comment to be more accurate.
Now that we skip vacuuming all-frozen pages, this comment needs updating. Masahiko Sawada
-rw-r--r--src/backend/commands/vacuumlazy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c
index e39321b0c76..784c3e93564 100644
--- a/src/backend/commands/vacuumlazy.c
+++ b/src/backend/commands/vacuumlazy.c
@@ -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.