Skip to content

Instantly share code, notes, and snippets.

@ustun
Created February 4, 2014 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ustun/8805028 to your computer and use it in GitHub Desktop.
Save ustun/8805028 to your computer and use it in GitHub Desktop.
Upgrade Postgres.app's databases
export PGDATAOLD="/Users/ustun/Library/Application Support/Postgres/var"
export PGDATANEW="/Users/ustun/Library/Application Support/Postgres93/var"
export PGBINOLD="/Applications/Postgres.app/Contents/MacOS/bin"
export PGBINNEW="/Applications/Postgres93.app/Contents/MacOS/bin"
pg_upgrade
@ustun
Copy link
Author

ustun commented Feb 4, 2014

Also

sudo ln -sf /Applications/Postgres93.app/Contents/MacOS/lib/libcrypto.1.0.0.dylib /usr/lib
sudo ln -sf /Applications/Postgres93.app/Contents/MacOS/lib/libssl.1.0.0.dylib /usr/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment