pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Long <mlong@datalong.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Users and multiple server environment
Date: Sun, 03 Oct 2004 01:18:59 -0400
Message-ID: <28880.1096780739@sss.pgh.pa.us> (raw)
In-Reply-To: <415F87D7.5000800@datalong.com>
References: <415F87D7.5000800@datalong.com>

Michael Long <mlong@datalong.com> writes:
> I now have 2 versions of postgres running on one box (7.3.2 and 8.0b3)  
> each listening on a different port. When creating a database, user or 
> schema in 8.0 that exists in 7.3.2 I get an error saying it already 
> exists. Can I have only one of each of these per server or am I missing 
> something?

You're missing something.  Check which port you are actually talking to.

I do this all the time --- my development machine standardly has half a
dozen postmasters running on it, one for each major release 7.0-current.
They do not impinge on each other at all.  It helps to build each
release from source so that you can set a different install prefix and
default port number for each one.

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <28880.1096780739@sss.pgh.pa.us>
Permalink:  ../28880.1096780739@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28880.1096780739@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mlong@datalong.com
  Subject: Re: Users and multiple server environment
  In-Reply-To: <28880.1096780739@sss.pgh.pa.us>
  References: <415F87D7.5000800@datalong.com> <28880.1096780739@sss.pgh.pa.us>

* 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