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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx | www.arcs.org.au | > | Intersect | sridhar.reddapani@xxxxxxxxxxxxxxxx |T +61 2 8079 2547 | > www.intersect.org.au | > ------------------------------------------------------------------------------------------------------------------------ > > -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin