Created
February 4, 2014 14:53
-
-
Save ustun/8805028 to your computer and use it in GitHub Desktop.
Upgrade Postgres.app's databases
This file contains 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 characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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