Re: two postgres servers on one machine?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kurt Seel <kseel(at)utcorp(dot)com>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: two postgres servers on one machine?
Date: 2000-06-08 15:01:20
Message-ID: 16152.960476480@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kurt Seel <kseel(at)utcorp(dot)com> writes:
> I once tried to run two (6.? series) servers on one machine.
> They stepped on each others shared memory. I would like to
> transition to Postgres 7 one customer (database) at a time, so
> I am wondering if there is a way to run Pg 6.? and Pg 7 on the
> same machine?

I do that all the time. As long as you give each server its own
data directory and its own port number, they won't conflict.

AFAIK that's always been true --- but there didn't use to be an
interlock to prevent you from trying to start two servers with
conflicting port numbers, so if you screwed up a shared-memory
clobber might well be the first symptom of the mistake.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Causey 2000-06-08 15:05:39 PostgreSQL on Cobalt Qube2?
Previous Message Tom Lane 2000-06-08 14:53:49 Re: Composite Types