mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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.
This commit is contained in:
parent
86e4efc52b
commit
6a9b2a631a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user