Re: createdb argument question

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Perry Smith" <pedz(at)easesoftware(dot)com>
Cc: "Seneca Cunningham" <tentra(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: createdb argument question
Date: 2007-10-28 20:11:46
Message-ID: 87zly3xam5.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Perry Smith" <pedz(at)easesoftware(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2007-10-28 21:13:31 Re: pg_restore
Previous Message Thomas Finneid 2007-10-28 19:31:19 Re: select count() out of memory