Skip to content

Instantly share code, notes, and snippets.

View DanBrooker's full-sized avatar

Daniel Brooker DanBrooker

View GitHub Profile
@DanBrooker
DanBrooker / upgrade_postgres.txt
Last active February 16, 2018 10:36 — forked from hardbap/upgrade_postgres.txt
Upgrading postgresql from 9.5.x to 9.6.x with Hstore
# Orignal instructions here: https://kkob.us/2016/01/09/homebrew-and-postgresql-9-5/
1. Stop postgresql
$ brew services stop postgresql
2. Install postgresql 9.6
$ brew update && brew upgrade postgresql
3. Make a new 9.6 database
$ initdb /usr/local/var/postgres9.6 -E utf8