From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: src/port/getopt_long.c lossy with arguments having no option characters
Date: Fri, 03 Apr 2015 17:47:31 -0400
Message-ID: <2737.1428097651@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqSTsawDHgCVfLEtUpW7wMeu2sQXZDB5=5aOK-o+BBTc_Q@mail.gmail.com>
References: <CAB7nPqQ45JbD1ZBvbD7gqQK4diGZXmGw56zp7R_DvEKO8EdMbQ@mail.gmail.com>
<28931.1428070107@sss.pgh.pa.us>
<551EEE5A.10709@gmx.net>
<CAB7nPqSTsawDHgCVfLEtUpW7wMeu2sQXZDB5=5aOK-o+BBTc_Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, peter_e@gmx.net
Subject: Re: src/port/getopt_long.c lossy with arguments having no option characters
In-Reply-To: <2737.1428097651@sss.pgh.pa.us>
References: <CAB7nPqQ45JbD1ZBvbD7gqQK4diGZXmGw56zp7R_DvEKO8EdMbQ@mail.gmail.com> <28931.1428070107@sss.pgh.pa.us> <551EEE5A.10709@gmx.net> <CAB7nPqSTsawDHgCVfLEtUpW7wMeu2sQXZDB5=5aOK-o+BBTc_Q@mail.gmail.com> <2737.1428097651@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox