updating to postgresql 9.2.4

Developer from somewhere

I needed to upgrade pg_dump from 9.1.9 to 9.2.4, so I needed to upgrade postgresql as well. I found the solution here.

1
2
3
4
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-common -t raring
sudo apt-get install postgresql-9.2

After doing this I symlinked the 9.2.4 pg_dump version:

sudo ln -s /usr/lib/postgresql/9.2/bin/pg_dump /usr/bin/pg_dump