Re: How to run 2+ versions of PostgreSQL concurrently

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Glaesemann <grzm(at)myrealbox(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to run 2+ versions of PostgreSQL concurrently
Date: 2003-11-27 05:32:31
Message-ID: 20383.1069911151@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Michael Glaesemann <grzm(at)myrealbox(dot)com> writes:
> [about a second installation on an existing machine]
> When initializing the database cluster, I need to create an
> environmental variable (such as PGDATA2) set to the directory where the
> data will be stored.

No, you'd just set PGDATA.

Joe Conway just posted some cleaned-up scripts for working with multiple
installations on-the-fly:
http://archives.postgresql.org/pgsql-patches/2003-11/msg00318.php
This might be overkill for your needs, but I can attest that it covers
all the essential bases.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jukka Ylönen 2003-11-27 15:46:18 Re: about psql functions...
Previous Message Michael Glaesemann 2003-11-27 05:11:04 How to run 2+ versions of PostgreSQL concurrently