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

Commit bcf7eb9

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 9fe285f commit bcf7eb9

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

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

0 commit comments

Comments
 (0)