Re: Running both PG 8 and PG 9

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bastiaan Olij <bastiaan(at)basenlily(dot)me>
Cc: pgsql Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Running both PG 8 and PG 9
Date: 2011-03-22 22:29:24
Message-ID: 8628.1300832964@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Bastiaan Olij <bastiaan(at)basenlily(dot)me> writes:
> I just installed PG 9 on my Macbook (enterprisedb) just to start playing
> around with it. My Postgres 8.4 installation won't start now anymore, it
> is complaining about shared memory already being in use.

> Is it even possible to run PG 8 and PG 9 side by side? I was under the
> impression this was possible provided they listen on different ports?

Yes, it is, but the default SHMMAX on OS X is too small to allow
starting two postmasters at once. Crank up the shmem settings (see
our manual for details) and you should be fine.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message LWATCDR 2011-03-23 13:58:50 Not to start a flame war but what does Oracle have that Postgresql does not?
Previous Message Bastiaan Olij 2011-03-22 21:51:54 Running both PG 8 and PG 9