Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a05596

Browse files
committed
Fix outdated --help message for postgres -f
This option switch supports a total of 8 values, as told by set_plan_disabling_options() and the documentation, but this was not reflected in the output generated by --help. Author: Junwang Zhao Discussion: https://postgr.es/m/CAEG8a3+pT3cWzyjzKs184L1XMNm8NDnoJLiSjAYSO7XqpRh_vA@mail.gmail.com Backpatch-through: 10
1 parent d3cf15d commit 1a05596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ help(const char *progname)
352352
printf(_(" -?, --help show this help, then exit\n"));
353353

354354
printf(_("\nDeveloper options:\n"));
355-
printf(_(" -f s|i|n|m|h forbid use of some plan types\n"));
355+
printf(_(" -f s|i|o|b|t|n|m|h forbid use of some plan types\n"));
356356
printf(_(" -n do not reinitialize shared memory after abnormal exit\n"));
357357
printf(_(" -O allow system table structure changes\n"));
358358
printf(_(" -P disable system indexes\n"));

0 commit comments

Comments
 (0)