Do pg_upgrade after changing postgres version#179
Do pg_upgrade after changing postgres version#179tribela wants to merge 3 commits intodokku:masterfrom
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