Re: Cluster in users home - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: Cluster in users home
Date
Msg-id 1073971920.27287.895.camel@linda.lfix.co.uk
Whole thread Raw
In response to Cluster in users home  (Russell Shaw <rjshaw@iprimus.com.au>)
List pgsql-novice
On Mon, 2004-01-12 at 05:22, Russell Shaw wrote:
> Hi,
> I just installed pgsql on debian. Can i have initdb create
> the database cluster in my home directory and have it all
> owned by russell instead of postgres?

If you built your own: certainly.

If you installed the Debian package: yes, but the installation assumes a
postmaster running as user postgres and the database cluster in a
system-configured location.  You would need to run your own version with
a different port number (not the default, 5432) so as not to conflict
with the system's version.  You would also need to make
/usr/lib/postgresql/bin part of your path, since some of the executables
are not linked to /usr/bin because they are assumed to be for the
postgres user only.
--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Wherefore let him that thinketh he standeth take heed
      lest he fall."            I Corinthians 10:12


pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Case sensitivity
Next
From: Bill Moseley
Date:
Subject: Re: Connect error