Content-Length: 271114 | pFad | http://github.com/postgrespro/postgres/commit/28766c054f8cc6a7bbcf99497954e7a259d3edb2

47 vacuumdb: Correct comment about --force-index-cleanup. · postgrespro/postgres@28766c0 · GitHub
Skip to content

Commit 28766c0

Browse files
vacuumdb: Correct comment about --force-index-cleanup.
Commit 3499df0 added a comment that incorrectly suggested that --force-index-cleanup did not appear in the same major version as the similar --no-index-cleanup option. In fact, both options are new to PostgreSQL 14. Backpatch: 14-, where both options were introduced.
1 parent 0c08856 commit 28766c0

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/28766c054f8cc6a7bbcf99497954e7a259d3edb2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy