Created
May 31, 2017 04:28
-
-
Save v-thomp4/82e202654cd0db9df214c6dff9c226f3 to your computer and use it in GitHub Desktop.
upgrade postgres centos
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 characters
Edit your pg_hba.conf and set connections on local to trust for the duration of the upgrade. | |
/usr/pgsql-9.5/bin/pg_upgrade --old-bindir=/usr/pgsql-9.4/bin/ --new-bindir=/usr/pgsql-9.5/bin/ --old-datadir=/var/lib/pgsql/9.4/data/ --new-datadir=/var/lib/pgsql/9.5/data/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment