By default the postgres user's group is 'daemon' on my Mac. This is probably
true for you as well. Change occurrences of 'postgres:postgres' in your
chown commands to 'postgres:daemon'.
For what it's worth, here's the user groups and permissions I see on my Mac. I
used the installer from
[…]
--- Installing postgresql90-server @9.0.5_0
To create a database instance, after install do
sudo mkdir -p /opt/local/var/db/postgresql90/defaultdb
sudo chown postgres:postgres /opt/local/var/db/postgresql90/defaultdb
sudo su postgres -c
By default the postgres user's group is 'daemon' on my Mac. This is
probably true for you as well. Change occurrences of
'postgres:postgres' in your chown commands to 'postgres:daemon'.
On 10/23/2011 8:16 PM, René Fournier wrote:
[…]
--- Installing postgresql90-server