Re: fix stale help message

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: fix stale help message
Дата
Msg-id
YvjLmV9V1Xj2JI2i@paquier.xyz
Ответ на
fix stale help message (Junwang Zhao)
Список
Дерево обсуждения
fix stale help message Junwang Zhao <zhjwpku@gmail.com>
Re: fix stale help message Junwang Zhao <zhjwpku@gmail.com>
Re: fix stale help message Michael Paquier <michael@paquier.xyz>
Re: fix stale help message Junwang Zhao <zhjwpku@gmail.com>
Re: fix stale help message Michael Paquier <michael@paquier.xyz>
On Wed, Aug 10, 2022 at 11:32:18PM +0800, Junwang Zhao wrote:
> 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.
>
> @@ -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"));

set_plan_disabling_options() is telling that you have all of them, as
much as the docs.  I don't mind fixing that as you suggest, FWIW.
--
Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Graaff, Selwyn
Дата:
FAQ