pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Loredana Curugiu <loredana.curugiu@gmail.com>
Cc: pgsql-novice@postgresql.org
Cc: pgsql-sql@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [SQL] Install two different versions of postgres which should run in parallel
Date: Fri, 10 Aug 2007 10:21:31 -0500
Message-ID: <dcc563d10708100821x50349c5cj391f25795e21a5de@mail.gmail.com> (raw)
In-Reply-To: <1c23c8e70708100433g4496040webeb53b44485bce7@mail.gmail.com>
References: <1c23c8e70708100433g4496040webeb53b44485bce7@mail.gmail.com>

On 8/10/07, Loredana Curugiu <loredana.curugiu@gmail.com> wrote:
> Hi all,
>
>  I need to have two different vesions of postgres running in parallel on
>  different ports. Does anyone knows how to install two different versions
>  of postgres (7.4.5 and 8.2.4) on the same computer? I am using Linux
>  operating system.

FYI, Linux isn't an OS, it's a kernel.

With RedHat, you'll either need to build your own RPMs from source
where each goes to a different directory etc OR compile from source
using a different --prefix and then use separate startup scripts that
set LD_LIBRARY_PATH and PATH etc... for each install on startup.

If you're running Debian, you can install >1 version of pgsql side by
side.  Not sure how it's done exactly, but I've heard it repeated
enough to believe it's true.



view thread (13+ messages)  latest in thread

Message-ID: <dcc563d10708100821x50349c5cj391f25795e21a5de@mail.gmail.com>
Permalink:  ../dcc563d10708100821x50349c5cj391f25795e21a5de@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10708100821x50349c5cj391f25795e21a5de@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: scott.marlowe@gmail.com, loredana.curugiu@gmail.com, pgsql-novice@postgresql.org, pgsql-jdbc@postgresql.org
  Subject: Re: [SQL] Install two different versions of postgres which should run in parallel
  In-Reply-To: <dcc563d10708100821x50349c5cj391f25795e21a5de@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox