Skip site navigation (1) Skip section navigation (2)

starting personal postmaster

From: Stefan Karrmann <sk(at)mathematik(dot)uni-ulm(dot)de>
To: pgsql-general(at)PostgreSQL(dot)org
Subject: starting personal postmaster
Date: 2001-04-27 09:03:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
How can I start a personal postmaster, e.g. the postmaster should
manage a database cluster in ~/pgdata/.

I'm using the Debian package of postgresql (7.0.3) and it want's to create
a socket at /var/run/postgres/.s.PORT.sock (or something similiar).
As I am not user postgres I dont have the permission to do this.
This seems to be the only problem to start postgres on an user account.
Is this Debian specific? Are there methods to avoid this?

I tried:
$ mkdir ~/pgdata
$ initdb -D ~/pgdata
$ postmaster -D ~/pgdata

Please CC answers to me <sk(at)mathematik(dot)uni-ulm(dot)de>.

Stefan Karrmann


pgsql-general by date

Next:From: Philip PotenDate: 2001-04-27 11:14:26
Subject: Returning tuple(s) from C-Functions
Previous:From: Michael Ansley (UK)Date: 2001-04-27 08:35:47
Subject: RE: Re: Report Writer for PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group