fix stale help message

From: Junwang Zhao <zhjwpku(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: fix stale help message
Date: 2022-08-10 15:32:18
Message-ID: CAEG8a3+pT3cWzyjzKs184L1XMNm8NDnoJLiSjAYSO7XqpRh_vA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-fix-stale-help-message.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2022-08-10 15:50:42 Re: SQL/JSON features for v15
Previous Message Jacob Champion 2022-08-10 15:09:58 Re: [PATCH] Expose port->authn_id to extensions and triggers