pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Two copies of Postgres with Graphical installer
2+ messages / 2 participants
[nested] [flat]

* Two copies of Postgres with Graphical installer
@ 2010-12-07 23:05 Sridhar Reddapani <sridhar.reddapani@intersect.org.au>
  2010-12-13 09:12 ` Re: Two copies of Postgres with Graphical installer Gerhard Hintermayer <gerhard.hintermayer@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Sridhar Reddapani @ 2010-12-07 23:05 UTC (permalink / raw)
  To: pgsql-admin

Hi All, 

I am trying to install second copy of postgres on same machine [with different prefix, data dir, servicename, port etc..] which already has one copy installed using postgresql-9.0.0-1-linux.bin , Is that some thing can be done? 
I tried with different options as below, no mater what I mention as command options its always going to upgrade existing installation instead of installing again. 

[root@postgres tmp]# ./postgresql-9.0.0-1-linux.bin --servicename PostgresSlave --prefix /opt/PostgreSQL/Slave/ --datadir /opt/PostgreSQL/Slave/data --serverport 5434 
---------------------------------------------------------------------------- 
Welcome to the PostgreSQL Setup Wizard. 

---------------------------------------------------------------------------- 
Existing installation 

An existing PostgreSQL installation has been found at /opt/PostgreSQL/9.0. This installation will be upgraded. 

In order to upgrade, we may need to restart the server. All connections to the server will need to be reestablished after the completion of the installation process. 
Press [Enter] to continue : 

Any suggestions pelase? 

-- 















Thanks & Regards, 
Sridhar Reddapani, 
------------------------------------------------------------------------------------------------------------------------ 
| ARCS - Australian Research Collaboration Service | M +61 430725424  | sridhar.reddapani@arcs.org.au | www.arcs.org.au   | 
| Intersect | sridhar.reddapani@intersect.org.au |T +61 2 8079 2547 | www.intersect.org.au                              | 
------------------------------------------------------------------------------------------------------------------------ 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Two copies of Postgres with Graphical installer
  2010-12-07 23:05 Two copies of Postgres with Graphical installer Sridhar Reddapani <sridhar.reddapani@intersect.org.au>
@ 2010-12-13 09:12 ` Gerhard Hintermayer <gerhard.hintermayer@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Gerhard Hintermayer @ 2010-12-13 09:12 UTC (permalink / raw)
  To: Sridhar Reddapani <sridhar.reddapani@intersect.org.au>; +Cc: pgsql-admin

Depending on you distribution you can install multiple versions of
postgres at the same time, but normally this can be done only  per
major version. i.e. you can install 8.1, 8.4 and 9.0 in parallel, but
not per minor version. gentoo e.g. does support this and calls it
slotted installation. maybe your distro has a similar feature.

regards
Gerhard Hintermayer

On Wed, Dec 8, 2010 at 12:05 AM, Sridhar Reddapani
<sridhar.reddapani@intersect.org.au> wrote:
> Hi All,
>
> I am trying to install second copy of postgres on same machine [with
> different prefix, data dir, servicename, port etc..] which already has one
> copy installed using postgresql-9.0.0-1-linux.bin , Is that some thing can
> be done?
> I tried with different options as below, no mater what I mention as command
> options its always going to upgrade existing installation instead of
> installing again.
>
> [root@postgres tmp]# ./postgresql-9.0.0-1-linux.bin --servicename
> PostgresSlave --prefix /opt/PostgreSQL/Slave/ --datadir
> /opt/PostgreSQL/Slave/data --serverport 5434
> ----------------------------------------------------------------------------
> Welcome to the PostgreSQL Setup Wizard.
>
> ----------------------------------------------------------------------------
> Existing installation
>
> An existing PostgreSQL installation has been found at /opt/PostgreSQL/9.0.
> This installation will be upgraded.
>
> In order to upgrade, we may need to restart the server. All connections to
> the server will need to be reestablished after the completion of the
> installation process.
> Press [Enter] to continue :
>
> Any suggestions pelase?
>
> --
>
> Thanks & Regards,
> Sridhar Reddapani,
> ------------------------------------------------------------------------------------------------------------------------
> | ARCS - Australian Research Collaboration Service | M +61 430725424  |
> sridhar.reddapani@arcs.org.au | www.arcs.org.au   |
> | Intersect | sridhar.reddapani@intersect.org.au  |T +61 2 8079 2547 |
> www.intersect.org.au                              |
> ------------------------------------------------------------------------------------------------------------------------
>
>



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-12-13 09:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-12-07 23:05 Two copies of Postgres with Graphical installer Sridhar Reddapani <sridhar.reddapani@intersect.org.au>
2010-12-13 09:12 ` Gerhard Hintermayer <gerhard.hintermayer@gmail.com>

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