pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Oli Sennhauser <oli.sennhauser@bluewin.ch>
Cc: pgsql-admin@postgresql.org
Subject: Re: Second postmaster / second DB cluster
Date: Thu, 16 Oct 2003 10:07:59 -0700 (PDT)
Message-ID: <20031016100239.C52937@megazone.bigpanda.com> (raw)
In-Reply-To: <3F8EB07D.7040603@bluewin.ch>
References: <3F8EB07D.7040603@bluewin.ch>

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.



view thread (2+ messages)

Message-ID: <20031016100239.C52937@megazone.bigpanda.com>
Permalink:  ../20031016100239.C52937@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20031016100239.C52937@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, oli.sennhauser@bluewin.ch
  Subject: Re: Second postmaster / second DB cluster
  In-Reply-To: <20031016100239.C52937@megazone.bigpanda.com>
  References: <3F8EB07D.7040603@bluewin.ch> <20031016100239.C52937@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox