Skip to content

Commit 9238f52

Browse files
danielgustafssonpull[bot]
authored andcommitted
vacuumdb: Reword --help message for clarity
The --help output stated that schemas were specified using PATTERN when they in fact aren't pattern matched but are required to be exact matches. This changes to SCHEMA to make that clear. Backpatch through v16 where this was introduced. Author: Kuwamura Masaki <kuwamura@db.is.i.nagoya-u.ac.jp> Discussion: https://postgr.es/m/CAMyC8qp9mXPQd5D6s6CJxvmignsbTqGZwDDB6VYJOn1A8WG38w@mail.gmail.com Backpatch-through: 16
1 parent df2b93f commit 9238f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/scripts/vacuumdb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,8 +1171,8 @@ help(const char *progname)
11711171
printf(_(" --no-process-main skip the main relation\n"));
11721172
printf(_(" --no-process-toast skip the TOAST table associated with the table to vacuum\n"));
11731173
printf(_(" --no-truncate don't truncate empty pages at the end of the table\n"));
1174-
printf(_(" -n, --schema=PATTERN vacuum tables in the specified schema(s) only\n"));
1175-
printf(_(" -N, --exclude-schema=PATTERN do not vacuum tables in the specified schema(s)\n"));
1174+
printf(_(" -n, --schema=SCHEMA vacuum tables in the specified schema(s) only\n"));
1175+
printf(_(" -N, --exclude-schema=SCHEMA do not vacuum tables in the specified schema(s)\n"));
11761176
printf(_(" -P, --parallel=PARALLEL_WORKERS use this many background workers for vacuum, if available\n"));
11771177
printf(_(" -q, --quiet don't write any messages\n"));
11781178
printf(_(" --skip-locked skip relations that cannot be immediately locked\n"));

0 commit comments

Comments
 (0)