Created
February 14, 2012 17:45
Revisions
-
mischa created this gist
Feb 14, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ Based off of this: https://raw.github.com/gist/1252442/ebd81b8f73fb80f1aa88fe1bbca3c5bcfc0d55d3/gistfile1.txt (which wasn't using homebrew) unload whatever launch agents you have for postgres launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist make sure pg is stopped brew update brew install postgresql cd /usr/local/var mv postgres postgres.9.0 initdb /usr/local/var/postgres pg_upgrade -d /usr/local/var/postgres.9.0 -D /usr/local/var/postgres -b /usr/local/Cellar/postgresql/9.0.4/bin -B /usr/local/Cellar/postgresql/9.1.2/bin