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

From Tom Lane
Subject Re: Two Postmasters on the Same Machine
Date
Msg-id 24676.973154487@sss.pgh.pa.us
Whole thread Raw
In response to Two Postmasters on the Same Machine  (Charles Tassell <ctassell@isn.net>)
List pgsql-general
Charles Tassell <ctassell@isn.net> writes:
> 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?

This is absolutely standard, particularly for development work.  Make
sure they each have their own installation/data directories and
different port numbers, and all will be cool.  I currently have (checks
ps...) three different postmasters running on this machine: 7.0.2,
7.0.3-to-be, and current development tip.

The only gotcha I'm aware of is that on machines with small kernel
limits on shmem or semaphores or kernel file table size, you might
start to run out of resources.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [NOVICE] Array Problem
Next
From: Tom Lane
Date:
Subject: Re: SQL question - problem with INTERSECT