aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-08-15 13:37:42 +0900
committerMichael Paquier <michael@paquier.xyz>2022-08-15 13:37:42 +0900
commite2915afbd701e548d985ce8b834cbd13ff802ea1 (patch)
treebb0d8d12df63c186d568bb1dbf8e2b52a4daa96d /src
parentee8a2f9d7caa3e5d43146bdef5de0bab8252b133 (diff)
downloadpostgresql-e2915afbd701e548d985ce8b834cbd13ff802ea1.tar.gz
postgresql-e2915afbd701e548d985ce8b834cbd13ff802ea1.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
Diffstat (limited to 'src')
-rw-r--r--src/backend/main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 7b18f8c7582..6ded6fc3eec 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -352,7 +352,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"));