Thread: can i install and run two diferent versions of postgresql

can i install and run two diferent versions of postgresql

From
"jorge alberto"
Date:
hi everybody!

Can I install and run two diferent versions of postgresql?
If this is posible, can you tell me how?

regards
jorge

Re: can i install and run two diferent versions of postgresql

From
"Guido Barosio"
Date:
Basically you need to explore the initdb command, which will create a
new  pgsql data structure, where you can find all the files that
belong to the *cluster* , the database per se. You will also find here
your new postgresql.conf file, where you should change the port
(defaults 5432) for a convenient one, not being used by another
process.

Obviously, if you are going to try this, extremelly easy stuff if you
are familiarized, you should  first go and read some man pages, and
find an arena place where to play, rather than firing this into your
production box :)

Hint: unset $PGDATA before running initdb or any commands once you´ve
got two postgresql locations in your server.

Best wishes,
g.-

On 11/15/06, jorge alberto <jorge.is.a.geek@gmail.com> wrote:
> hi everybody!
>
> Can I install and run two diferent versions of postgresql?
> If this is posible, can you tell me how?
>
> regards
> jorge
>
>


--
Guido Barosio
-----------------------
http://www.globant.com
guido.barosio@globant.com