pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Loredana Curugiu <loredana.curugiu@gmail.com>
Cc: pgsql-novice@postgresql.org
Cc: pgsql-sql@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [NOVICE] Install two different versions of postgres which should run in parallel
Date: Fri, 10 Aug 2007 17:12:01 +0100
Message-ID: <1186762321.11237.225.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <1c23c8e70708100433g4496040webeb53b44485bce7@mail.gmail.com>
References: <1c23c8e70708100433g4496040webeb53b44485bce7@mail.gmail.com>

On Fri, 2007-08-10 at 14:33 +0300, Loredana Curugiu 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.

If you run Debian or Ubuntu you can do this with the package system.

  apt-get install postgresql-8.2 postgresql-7.4

The two versions are automatically installed to run on different ports.
Look at the docs and manpages for the postgresql-common package to see
how it works.

If you can't do that, you can install a different version from source in
a different directory tree; then have its postmaster run on a different
port.  Specify the port number when connecting so as to get to the
postmaster you want.

-- 
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




view thread (13+ messages)  latest in thread

Message-ID: <1186762321.11237.225.camel@linda.lfix.co.uk>
Permalink:  ../1186762321.11237.225.camel@linda.lfix.co.uk/
Also on:    postgresql.org/message-id/1186762321.11237.225.camel@linda.lfix.co.uk

 · 

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: olly@lfix.co.uk, loredana.curugiu@gmail.com, pgsql-novice@postgresql.org, pgsql-jdbc@postgresql.org
  Subject: Re: [NOVICE] Install two different versions of postgres which should run in parallel
  In-Reply-To: <1186762321.11237.225.camel@linda.lfix.co.uk>

* 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