Skip to content

Instantly share code, notes, and snippets.

View dieg0's full-sized avatar
:bowtie:
Working

Diego Vargas dieg0

:bowtie:
Working
View GitHub Profile
@dieg0
dieg0 / _upgrade-pg9.4-to-pg9.5.md
Created December 11, 2016 19:42 — forked from nirnaeth/_upgrade-pg9.4-to-pg9.5.md
Upgrade PostgreSQL 9.4 to 9.5 on Mac OS X with Homebrew

First, check your current config (example output in homebrew.mxcl.postgresql.plist.xml lower down in this gist):

cat ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

Most importantly, note the -D /usr/local/var/postgres argument.

Second, shut down your current PostgreSQL.

launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist