diff options
author | Michael Paquier | 2022-08-15 04:36:36 +0000 |
---|---|---|
committer | Michael Paquier | 2022-08-15 04:36:36 +0000 |
commit | f2108d3bd03d3cb101a8ddfa5fe127d30e7f47f4 (patch) | |
tree | 51a6ba333979383381f6c95cb8f232e60ac827f1 /src | |
parent | a466219428a065ac24f7cec652f9188a5fba6f08 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c index 5a964a0db67..f5da4260a13 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -351,7 +351,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")); |