Re: Two Postmasters on the Same Machine

From: Igor Roboul <igor(at)raduga(dot)dyndns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Two Postmasters on the Same Machine
Date: 2000-11-02 05:10:47
Message-ID: 20001102081047.B27545@linux.rainbow
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 01, 2000 at 03:20:42PM -0400, Charles Tassell wrote:
> I want to run two versions of PostGres on the same machine, but on
> different ports (I currently have 6.5.3 installed, and I want to install
> 7.0.2 in a different directory and run it on a different port until I can
> get all my code ported over.) IS there any problem with doing this? Will
> the two postmasters attempt to use each other's shared memory or do any
> other strange things? The only thing I can think of is that I'll have to
> specify the PGDATA path on the command line for the 7.0.2 instance, as the
> PGDATA environmental variable will hold the path to the 6.5.3 data dir.
I think, that this will be Ok. To be sure, copy PGDATA directory somewhere and
then run new postmaster with this directory and on new port. Test your apps.
I _think_ all will be Ok.

--
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga",
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Roboul 2000-11-02 05:12:36 Re: database and table listing
Previous Message Igor Roboul 2000-11-02 05:08:58 Re: Sample Program