Created
April 30, 2021 17:51
-
-
Save belison/2e15c63ef05a8b668a0ba99f0edcbcbb to your computer and use it in GitHub Desktop.
upgrading postgres 9 to 10 inside the qzzr dev env
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
mv ~/code/dev/projects/postgres/data ~/code/dev/projects/postgres/data.old | |
initdb -D ~/code/dev/projects/postgres/data | |
pg_upgrade -d ~/code/dev/projects/postgres/data.old -D ~/code/dev/projects/postgres/data -b ~/code/dev/vendor/asdf/installs/postgresql/9.5.2/bin -B ~/code/dev/vendor/asdf/installs/postgresql/10.16/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment