Postgres installation on Leopard; database on Mac-User-Level - Mailing list pgsql-general

From Stefan Schwarzer
Subject Postgres installation on Leopard; database on Mac-User-Level
Date
Msg-id 03CD0FA3-29F6-4188-9A2E-6BAF46EBAB3F@grid.unep.ch
Whole thread Raw
Responses Re: Postgres installation on Leopard; database on Mac-User-Level
List pgsql-general
Hi there,

I want to create my database not under /etc/.... but under or within my Mac-user level, that is /Users/schwarzer/....

Now, it seems somewhat complicated - at least for me -, due to the different read-write permissions, to do that. It worked before, but now, after re-installing the machine, I really don't get it going...

The commands would be like this:

/usr/local/pgsql/bin/initdb -D /Users/schwarzer/Documents/data_postgres
/usr/local/pgsql/bin/postmaster -D /Users/schwarzer/Documents/data_postgres >logfile 2>&1 &

But, what about the user "schwarzer" and the user "postgres"? How should it correctly be installed/configured?

Thanks for any advice,

Stef

pgsql-general by date:

Previous
From: "T.J. Adami"
Date:
Subject: Re: COUNT() with ORDER BY
Next
From: Stefan Schwarzer
Date:
Subject: Re: Forgot to dump old data before re-installing machine