Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a5d2337

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 9ae4841 commit a5d2337

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
@@ -373,7 +373,7 @@ help(const char *progname)
373373
printf(_(" -?, --help show this help, then exit\n"));
374374

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

0 commit comments

Comments
 (0)