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 2737.1428097651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 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  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
Michael Paquier <michael.paquier@gmail.com> writes:
> On Sat, Apr 4, 2015 at 4:47 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> It is true that options after non-option arguments are a GNU extension,
>> but long options are also a GNU extension.  So the behavior we provide
>> is neither pure POSIX nor pure GNU.  I can see how that would be confusing.

> Well, OK. Then we had better update a bit the TAP tests of initdb and
> createdb because they break on any platform which is not compliant
> with that.

If those tests are dependent on behavior we don't document as allowed,
I think we should change the tests.  Want to send a patch?

            regards, tom lane

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: src/port/getopt_long.c lossy with arguments having no option characters
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: src/port/getopt_long.c lossy with arguments having no option characters