Re: Second postmaster / second DB cluster

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Oli Sennhauser <oli(dot)sennhauser(at)bluewin(dot)ch>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Second postmaster / second DB cluster
Date: 2003-10-16 17:07:59
Message-ID: 20031016100239.C52937@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Josh Berkus 2003-10-16 17:09:27 Re: [PERFORM] backup/restore - another area.
Previous Message Jeff 2003-10-16 17:06:37 Re: [PERFORM] backup/restore - another area.