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

Commit28766c0

Browse files
vacuumdb: Correct comment about --force-index-cleanup.
Commit3499df0 added a comment that incorrectly suggested that--force-index-cleanup did not appear in the same major version as thesimilar --no-index-cleanup option. In fact, both options are new toPostgreSQL 14.Backpatch: 14-, where both options were introduced.
1 parent0c08856 commit28766c0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

‎src/bin/scripts/vacuumdb.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -916,14 +916,7 @@ prepare_vacuum_command(PQExpBuffer sql, int serverVersion,
916916
}
917917
if (vacopts->force_index_cleanup)
918918
{
919-
/*
920-
* "INDEX_CLEANUP TRUE" has been supported since v12.
921-
*
922-
* Though --force-index-cleanup was added to vacuumdb in v14,
923-
* the "INDEX_CLEANUP TRUE" server/VACUUM behavior has never
924-
* changed. No reason not to support --force-index-cleanup on
925-
* v12+.
926-
*/
919+
/* "INDEX_CLEANUP TRUE" has been supported since v12 */
927920
Assert(serverVersion >=120000);
928921
Assert(!vacopts->no_index_cleanup);
929922
appendPQExpBuffer(sql,"%sINDEX_CLEANUP TRUE",sep);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp