aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-01-17 15:23:14 -0600
committerNathan Bossart <nathan@postgresql.org>2025-01-17 15:23:14 -0600
commit6a9b2a631aa3dbac5b351cd0c45631cbc6e8d19e (patch)
treea1feb6fdcdc4bb9ce7eba827c0d16a8afa4c8f8f /src
parent86e4efc52b664b60f9494e062bbf0454cabcb61f (diff)
downloadpostgresql-6a9b2a631aa3dbac5b351cd0c45631cbc6e8d19e.tar.gz
postgresql-6a9b2a631aa3dbac5b351cd0c45631cbc6e8d19e.zip
vacuumdb: Fix comment for vacuum_one_database().
Since commit e0c2933a76, vacuum_one_database() always uses a catalog query to discover the tables to process, but this comment still notes the special case for which we used a catalog query before that commit. Let's just remove that note. Also, commit 7781f4e3e7 renamed the "tables" parameter to "objects" but missed updating this comment. This commit fixes that as well.
Diffstat (limited to 'src')
-rw-r--r--src/bin/scripts/vacuumdb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c
index 170f34d9274..3dc428674ae 100644
--- a/src/bin/scripts/vacuumdb.c
+++ b/src/bin/scripts/vacuumdb.c
@@ -461,15 +461,14 @@ escape_quotes(const char *src)
/*
* vacuum_one_database
*
- * Process tables in the given database. If the 'tables' list is empty,
+ * Process tables in the given database. If the 'objects' list is empty,
* process all tables in the database.
*
* Note that this function is only concerned with running exactly one stage
* when in analyze-in-stages mode; caller must iterate on us if necessary.
*
* If concurrentCons is > 1, multiple connections are used to vacuum tables
- * in parallel. In this case and if the table list is empty, we first obtain
- * a list of tables from the database.
+ * in parallel.
*/
static void
vacuum_one_database(ConnParams *cparams,