Skip to content

Commit 6a9b2a6

Browse files
vacuumdb: Fix comment for vacuum_one_database().
Since commit e0c2933, 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 7781f4e renamed the "tables" parameter to "objects" but missed updating this comment. This commit fixes that as well.
1 parent 86e4efc commit 6a9b2a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin/scripts/vacuumdb.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,15 +461,14 @@ escape_quotes(const char *src)
461461
/*
462462
* vacuum_one_database
463463
*
464-
* Process tables in the given database. If the 'tables' list is empty,
464+
* Process tables in the given database. If the 'objects' list is empty,
465465
* process all tables in the database.
466466
*
467467
* Note that this function is only concerned with running exactly one stage
468468
* when in analyze-in-stages mode; caller must iterate on us if necessary.
469469
*
470470
* If concurrentCons is > 1, multiple connections are used to vacuum tables
471-
* in parallel. In this case and if the table list is empty, we first obtain
472-
* a list of tables from the database.
471+
* in parallel.
473472
*/
474473
static void
475474
vacuum_one_database(ConnParams *cparams,

0 commit comments

Comments
 (0)