Re: Cluster in users home

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Russell Shaw <rjshaw(at)iprimus(dot)com(dot)au>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Cluster in users home
Date: 2004-01-13 05:32:00
Message-ID: 1073971920.27287.895.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bill Moseley 2004-01-13 06:03:20 Re: Connect error
Previous Message Oliver Elphick 2004-01-13 05:27:13 Re: Case sensitivity