Re: postgres-two different version - Mailing list pgsql-admin

From codeWarrior
Subject Re: postgres-two different version
Date
Msg-id epntjh$1ri3$1@news.hub.org
Whole thread Raw
In response to postgres-two different version  ("Bottini" <g.bottini@arpa.vda.it>)
Responses Re: postgres-two different version
List pgsql-admin
Why would you want two servers on the same box ??? There's this thing called
"schemas" within one database... and postgreSQL is very capable of managing
multiple databases from the same server....

If you insist on trying to run two postgreSQL server on teh same box -- You
also need to make sure that your two different versions dopnt share TCP/IP
ports -- they cannot both listen on the same IP:PORT address -- so you will
need to manage your postgresql.conf and pg_hba.conf files separately -- one
for each postgresql server... ditto for your startup scripts.

You will probably also have some issues when using pgsql at the command line
[localhost].

Why not just upgrade your 8.1.3 installation to 8.2 ?




"Tom Lane" <tgl@sss.pgh.pa.us> wrote in message
news:1892.1170169384@sss.pgh.pa.us...
> "Bottini" <g.bottini@arpa.vda.it> writes:
>> Is possible  to install two different version of postgresql on the same
>> Linux server? I want to install  the 8.2 version in a server where is
>> installed 8.1.3 version
>
> You can, but not when installing from RPM: the RPMs have a fixed idea of
> where to put the software, and I don't think it's feasible to change.
> You'd need to build from source and use the --prefix configure option
> to put the two sets of code in different places.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgres-two different version
Next
From: "codeWarrior"
Date:
Subject: Re: Terminating a query that appears to be hung