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

Commit f2108d3

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 a466219 commit f2108d3

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

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

0 commit comments

Comments
 (0)