Skip to content

Instantly share code, notes, and snippets.

@belison
Created April 30, 2021 17:51
Show Gist options
  • Save belison/2e15c63ef05a8b668a0ba99f0edcbcbb to your computer and use it in GitHub Desktop.
Save belison/2e15c63ef05a8b668a0ba99f0edcbcbb to your computer and use it in GitHub Desktop.
upgrading postgres 9 to 10 inside the qzzr dev env
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