Re: src/port/getopt_long.c lossy with arguments having no option characters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: src/port/getopt_long.c lossy with arguments having no option characters
Дата
Msg-id 28931.1428070107@sss.pgh.pa.us
обсуждение исходный текст
Ответ на src/port/getopt_long.c lossy with arguments having no option characters  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: src/port/getopt_long.c lossy with arguments having no option characters  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Michael Paquier <michael.paquier@gmail.com> writes:
> The implementation of getopt_long in src/port has some limitations,
> for example such commands do not work but they should:

No, those should not work.  You're too used to versions that don't insist
on switches-before-non-switch-arguments.  Such behavior is an extension
that is not standard, is not documented in any Postgres documentation,
and tends to have bad corner-case behaviors.  I don't feel a need to make
our implementation replicate that.

            regards, tom lane

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

Предыдущее
От: Ilya Bazylchuk
Дата:
Сообщение: Postgresql 9.4.1 stuck all queries when making multi updates
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: src/port/getopt_long.c lossy with arguments having no option characters