Re: [GENERAL] Alternate DB location continued.

2005-02-18 Thread Marco Colombo
On Fri, 18 Feb 2005, Bob Hartung wrote: Hi again all. Here is the situation: Fedora Core 3 with all updates. PostgreSQL 8.0.1 installed - no tables to update. In /etc/profile I have declared: PGDATA=/pg_data PATH=$PATH:$PGDATA

Re: [GENERAL] Alternate DB location continued.

2005-02-18 Thread Tom Lane
Bob Hartung <[EMAIL PROTECTED]> writes: >Here is the situation: > Fedora Core 3 with all updates. > PostgreSQL 8.0.1 installed - no tables to update. > In /etc/profile I have declared: > PGDATA=/pg_data You're being bit by SELinux. Either take it out of enforce

Re: [GENERAL] Alternate db location

2005-02-15 Thread Marco Colombo
On Tue, 15 Feb 2005 [EMAIL PROTECTED] wrote: Hi all, I am installing 8.0.1 on FC3. The initial installatin went well. I am now trying to change and use a different directory /pg_data. I have established and exportede PGDATA and it is /pg_data. I have mkdir /pg_data and changed the owner to post

Re: [GENERAL] Alternate db location

2005-02-15 Thread Tom Lane
[EMAIL PROTECTED] writes: > [ initdb fails with ] > creating directory /pg_data/pg_tblspc ... ok > selecting default max_connections ... 10 > selecting default shared_buffers ... 50 > creating configuration files ... ok > creating template1 database in /pg_data/base/1 ... Hmm, the "default max_co

Re: [GENERAL] Alternate db location

2005-02-15 Thread Scott Marlowe
On Tue, 2005-02-15 at 09:16, [EMAIL PROTECTED] wrote: > Hi all, > I am installing 8.0.1 on FC3. The initial installatin went well. I am now > trying to change and use a different directory /pg_data. I have established > and > exportede PGDATA and it is /pg_data. I have mkdir /pg_data and chan