In our test machine(ubuntu lucid
) ,we had postgres8.3
and postgres8.4
installed by a previous team.
They are at
/etc/postgresql
/8.3
/8.4
and our django apps were using postgres8.3 as the database.Now ,the client wants to use postgres 9.2.So we tried to install it
sudo apt-get install postgresql
but I am getting
1 upgraded, 0 newly installed, 0 to remove and 40 not upgraded
...
Setting up postgresql (8.4.16-0ubuntu10.04) ...
How do I install postgres 9.2
? and remove the older versions? Will the existing db used by our app get removed?