Re: Second postmaster / second DB cluster - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Second postmaster / second DB cluster
Date
Msg-id 20031016100239.C52937@megazone.bigpanda.com
Whole thread Raw
In response to Second postmaster / second DB cluster  (Oli Sennhauser <oli.sennhauser@bluewin.ch>)
Responses Solution: Second postmaster / second DB cluster
List pgsql-admin
On Thu, 16 Oct 2003, Oli Sennhauser wrote:

> I would like to start a second postmaster on my server.
> First problem was the lock file /tmp/.s.PGSQL.5432.lock
> and its socket. But you can workaround that by the -k
> parameter. So I was able to start at least 3 clusters...

If you want to use separate directories for the socket, you
need to use -h <directory>  (and -p <port> if it's not the default)
when connecting with psql.  However, you probably just want to
use different port numbers to start the postmasters and then use
psql -p <port> to connect.

pgsql-admin by date:

Previous
From: Jeff
Date:
Subject: Re: [PERFORM] backup/restore - another area.
Next
From: Tom Lane
Date:
Subject: Re: user name doesn't seem to resolve to $user in search_path