Re: Two Postmasters on the Same Machine - Mailing list pgsql-general

From Igor Roboul
Subject Re: Two Postmasters on the Same Machine
Date
Msg-id 20001102081047.B27545@linux.rainbow
Whole thread Raw
In response to Two Postmasters on the Same Machine  (Charles Tassell <ctassell@isn.net>)
List 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

pgsql-general by date:

Previous
From: Igor Roboul
Date:
Subject: Re: Sample Program
Next
From: Igor Roboul
Date:
Subject: Re: database and table listing