postgres.git / summary / log / commit / refs

commit    bcf7eb99bbf15954a92df0a4405713d561402be2
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Mon Aug 15 04:37:40 2022 +0000
First released in: 16.0, 10.23, 11.18, 12.13, 13.9, 14.6, 15.0

    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


src/backend/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/main/main.c b/src/backend/main/main.c index da3dae9e250..84f93cd1556 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -334,7 +334,7 @@ help(const char *progname) printf(_(" -?, --help show this help, then exit\n")); printf(_("\nDeveloper options:\n")); - printf(_(" -f s|i|n|m|h forbid use of some plan types\n")); + printf(_(" -f s|i|o|b|t|n|m|h forbid use of some plan types\n")); printf(_(" -n do not reinitialize shared memory after abnormal exit\n")); printf(_(" -O allow system table structure changes\n")); printf(_(" -P disable system indexes\n")); [parent: 9fe285f8597d]