Created
February 26, 2016 10:19
-
-
Save attenzione/0a80a68a7b7ab037236b to your computer and use it in GitHub Desktop.
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
cd /usr/local/var/ | |
mkdir postgres-9.2.1 | |
initdb /usr/local/var/postgres-9.2.1/ | |
pg_upgrade --old-datadir /usr/local/var/postgres --new-datadir /usr/local/var/postgres-9.2.1 --old-bindir /usr/local/Cellar/postgresql/9.1.5/bin/ --new-bindir /usr/local/Cellar/postgresql/9.2.1/bin/ | |
mv postgres postgres-9.1.5 | |
mv postgres-9.2.1 postgres | |
rm analyze_new_cluster.sh | |
rm delete_old_cluster.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment