fix stale help message
Junwang Zhao <zhjwpku@gmail.com>
From: Junwang Zhao <zhjwpku@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-08-10T15:32:18Z
Lists: pgsql-hackers
Attachments
- 0001-fix-stale-help-message.patch (application/octet-stream) patch v1-0001
when parsing command-line options, the -f option support disabling
8 scan and join methods, o, b and t disable index-only scans,
bitmap index scans, and TID scans respectively, add them to the
help message.
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 5a964a0db6..f5da4260a1 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"));
--
Regards
Junwang Zhao
Commits
-
Fix outdated --help message for postgres -f
- 1a05596eaaaa 10.23 landed
- 6e086bb1dbeb 11.18 landed
- e2915afbd701 12.13 landed
- bcf7eb99bbf1 13.9 landed
- 63b64d827069 14.6 landed
- a5d233700582 15.0 landed
- f2108d3bd03d 16.0 landed