-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do pg_upgrade after changing postgres version #179
base: master
Are you sure you want to change the base?
Conversation
Do not merge yet. |
What happens if people are using a custom Postgres image, or if they are upgrading between many versions? |
tianon/postgres-upgrade supports 9.2 to 11. |
Right, but what if someone is using some other, random image? I know people do this for geo support. |
Just want to put a vote in for this because right now running |
Would be great to have this in the code |
|
I'm not sure, but why should But if |
This uses the |
Oh ok, I get it. I still think either adding a note in the docs or restricting the command to standard images would be better than not having it. |
adding the restriction (or maybe a guard around that codeblock with a requisite warning) would be good with me then. |
I think adding a restriction when the command won't work is a good way to go about this. I've also broken my site (unknowingly) trying to upgrade postgres. |
This works really great, I upgraded from 9.6 to 15 with this script flawlessly. |
Related with: #178