Re: BUG #6120: Problem running post-install step in Mac OS X Lion (GM)

From: simonrodan <simon(dot)rodan(at)sjsu(dot)edu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6120: Problem running post-install step in Mac OS X Lion (GM)
Date: 2011-08-04 04:26:31
Message-ID: 1312431991679-4665117.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I have worked around this by adding the postgres user by hand:

sudo dscl . -create /users/postgres
sudo mkdir -p /usr/local/pgsql/data
sudo chown postgres /usr/local/pgsql/data
sudo dscl . -passwd /users/postgres <pw>
su postgres chmod 755 /Library/PostgreSQL/9.0/bin/initdb
su postgres /Library/PostgreSQL/9.0/bin/initdb -D /usr/local/pgsql/data

(There is a predefined user in OS X Lion: "_postgres" but that's not the one
the installer is expecting... )

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-6120-Problem-running-post-install-step-in-Mac-OS-X-Lion-GM-tp4598104p4665117.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message william wei 2011-08-04 07:48:15 BUG #6148: unterminated CSV quoted field
Previous Message Jim McQuillan 2011-08-04 03:36:49 BUG #6147: Changing search_path between invocations of a function ignored by 2nd invocation of function