Re: initdb ignoring options? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: initdb ignoring options?
Date
Msg-id 29943.1361923414@sss.pgh.pa.us
Whole thread Raw
In response to Re: initdb ignoring options?  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: initdb ignoring options due to bash environment on OS X  (Greg Smith <greg@2ndQuadrant.com>)
List pgsql-hackers
Greg Smith <greg@2ndQuadrant.com> writes:
> On 2/26/13 6:01 PM, Tom Lane wrote:
>> Greg Smith <greg@2ndQuadrant.com> writes:
>>> $ initdb --help
>>> The files belonging to this database system will be owned by user "gsmith".

>> Hm.  Works as expected for me.  What platform is this exactly?

> The broken one is OS X Lion 10.7.5, main build toolchain provided by 
> Apple's development tools, and Homebrew used to install the missing 
> libraries (zlib etc.)  I had been beating my head against the wall 
> asking why initdb didn't work for so long today, I didn't even think 
> this could be a platform specific issue.  I don't have any other OS X 
> version installed here to test if this is specific to Lion or not.

[ scratches head... ]  One of the places where it works as expected for
me is my 10.7.5 laptop.  So there's something weird about some library
you're using.  What's getting linked into initdb ("otool -L" should
answer that) and where'd you get it from?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: initdb ignoring options?
Next
From: Thom Brown
Date:
Subject: Re: initdb ignoring options?