Last active
June 30, 2017 14:05
-
-
Save misuzu/23ac4a7f0dcd8ab7b6f5655772591fab to your computer and use it in GitHub Desktop.
Upgrade PostgreSQL from 9.5 to 9.6 on Debian
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
#!/bin/bash | |
pg_dropcluster --stop 9.6 main && pg_upgradecluster 9.5 main && pg_dropcluster 9.5 main && apt-get remove --purge -y postgresql-9.5 postgresql-client-9.5 && service [email protected] start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment