Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a9b2a6

Browse files
vacuumdb: Fix comment for vacuum_one_database().
Since commite0c2933, vacuum_one_database() always uses acatalog query to discover the tables to process, but this commentstill notes the special case for which we used a catalog querybefore that commit. Let's just remove that note.Also, commit7781f4e renamed the "tables" parameter to "objects"but missed updating this comment. This commit fixes that as well.
1 parent86e4efc commit6a9b2a6

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
staticvoid
475474
vacuum_one_database(ConnParams*cparams,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp