Skip to content

Instantly share code, notes, and snippets.

@crofty
Created May 14, 2012 11:41
Show Gist options
  • Save crofty/2693517 to your computer and use it in GitHub Desktop.
Save crofty/2693517 to your computer and use it in GitHub Desktop.
Upgrade Postgres data dir to 9.1
pg_upgrade --old-bindir=/usr/local/Cellar/postgresql/9.0.4/bin --new-bindir=/usr/local/bin -d /usr/local/var/postgres.old -D /usr/local/var/postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment