Re: add non-option reordering to in-tree getopt_long

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: add non-option reordering to in-tree getopt_long
Дата
Msg-id 20230713.172548.343698949183202005.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: add non-option reordering to in-tree getopt_long  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
At Thu, 13 Jul 2023 14:39:32 +0900, Michael Paquier <michael@paquier.xyz> wrote in 
> [04:56:07.404] pg_ctl: too many command-line arguments (first is "-D")

Mmm. It checks, for example, for "pg_ctl initdb -D $tempdir/data -o
-N".  This version of getopt_long() returns -1 as soon as it meets the
first non-option "initdb". This is somewhat different from the last
time what I saw the patch and looks strange at a glance..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Add hint message for check_log_destination()
Следующее
От: Pavel Luzanov
Дата:
Сообщение: Re: psql: Add role's membership options to the \du+ command