| From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> | 
|---|---|
| To: | Loredana Curugiu <loredana(dot)curugiu(at)gmail(dot)com> | 
| Cc: | pgsql-novice(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org | 
| Subject: | Re: [NOVICE] Install two different versions of postgres which should run in parallel | 
| Date: | 2007-08-10 16:12:01 | 
| Message-ID: | 1186762321.11237.225.camel@linda.lfix.co.uk | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-jdbc pgsql-novice pgsql-sql | 
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(at)lfix(dot)co(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-08-10 16:14:54 | Re: executeQuery hangs on busy server - PROPOSAL: socketTimeout parameter | 
| Previous Message | Scott Marlowe | 2007-08-10 15:21:31 | Re: [SQL] Install two different versions of postgres which should run in parallel | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew C. Uselton | 2007-08-10 18:49:01 | pg_dump/pg_dumpall | 
| Previous Message | Scott Marlowe | 2007-08-10 15:21:31 | Re: [SQL] Install two different versions of postgres which should run in parallel | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fernando Hevia | 2007-08-10 19:40:34 | Re: Best Fit SQL query statement | 
| Previous Message | Scott Marlowe | 2007-08-10 15:21:31 | Re: [SQL] Install two different versions of postgres which should run in parallel |