Re: createdb argument question - Mailing list pgsql-general

From Gregory Stark
Subject Re: createdb argument question
Date
Msg-id 87zly3xam5.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: createdb argument question  (Perry Smith <pedz@easesoftware.com>)
List pgsql-general
"Perry Smith" <pedz@easesoftware.com> writes:

> The getopt_long on Mac and I guess also Linux have been made non-
> Posix compliant.  They accept options after the non-option argument.   What is
> really disturbing is they alter argv.  I find that somewhat a  bad idea but, I
> guess no one really cares about consistency or  traditions.

You can get the traditional behaviour out of glibc if you set POSIXLY_CORRECT.

One thing to beware of is that patch behaves very strangely with
POSIXLY_CORRECT set though.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

pgsql-general by date:

Previous
From: Thomas Finneid
Date:
Subject: Re: select count() out of memory
Next
From: Bob Pawley
Date:
Subject: Re: pg_restore