diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-08-15 13:37:32 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-08-15 13:37:32 +0900 |
commit | a5d2337005820a2227d2d9970cdd5a7ac67bfc75 (patch) | |
tree | ab30e6d111499999d00f9bbc8691f3b4f63e0309 | |
parent | 9ae484121f5225e00e899ed9bd67b7ef4191a133 (diff) | |
download | postgresql-a5d2337005820a2227d2d9970cdd5a7ac67bfc75.tar.gz postgresql-a5d2337005820a2227d2d9970cdd5a7ac67bfc75.zip |
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
-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 c43a527d3f9..f8f7ebbd445 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -373,7 +373,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")); |