Skip to content

Instantly share code, notes, and snippets.

View SumeetMoray's full-sized avatar
🏠
Working from home

Sumeet Moray SumeetMoray

🏠
Working from home
View GitHub Profile
@SumeetMoray
SumeetMoray / upgrade-postgres-9.5-to-9.6.md
Created March 6, 2017 12:10 — forked from Prototype-X/upgrade-postgres-9.5-to-9.6.md
Upgrading PostgreSQL from 9.5 to 9.6 on Ubuntu 16.04

TL;DR

Install Postgres 9.6, and then:

sudo pg_dropcluster 9.6 main --stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main

Set db path for pg_upgradecluster: