Skip to content

Instantly share code, notes, and snippets.


Gloria Passarello GloryPassarello

View GitHub Profile
tamoyal / gist:2ea1fcdf99c819b4e07d
Last active Feb 13, 2020
Upgrade Postgres 9.3 to 9.4 on Ubuntu
View gist:2ea1fcdf99c819b4e07d
# Be sure to save your config files. Optional but I do:
sudo cp /etc/postgresql/9.3/main/postgresql.conf ~
sudo cp /etc/postgresql/9.3/main/pg_hba.conf ~
# Package repo (for apt-get)
wget --quiet -O - | sudo apt-key add -
sudo sh -c 'echo "deb precise-pgdg main" >> /etc/apt/sources.list.d/postgresql.list'
# Also probably optional but I like to update sources and upgrade
sudo apt-get update