Search Postgresql Archives

Re: createdb argument question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Perry Smith" <pedz@xxxxxxxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux