Re: Two Postmasters on the Same Machine

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Charles Tassell <ctassell(at)isn(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Two Postmasters on the Same Machine
Date: 2000-11-02 08:41:27
Message-ID: 24676.973154487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Charles Tassell <ctassell(at)isn(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-02 09:05:49 Re: SQL question - problem with INTERSECT
Previous Message Tom Lane 2000-11-02 08:33:10 Re: [NOVICE] Array Problem