Skip to content
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

postgres:upgrade should not allow major version upgrade attempts #264

Open
swrobel opened this issue Oct 18, 2022 · 1 comment
Open

postgres:upgrade should not allow major version upgrade attempts #264

swrobel opened this issue Oct 18, 2022 · 1 comment

Comments

@swrobel
Copy link

swrobel commented Oct 18, 2022

I just hosed my database image and had to restore from a backup because I attempted to use dokku postgres:upgrade myapp (with no args) to jump from 12.5 to 14.5. Now, I realize I probably should've read the docs first, but still, if major version upgrades via postgres:upgrade aren't allowed, then it shouldn't attempt them, and should perhaps spit out a link to the docs.

@swrobel swrobel changed the title postgres:upgrade should not allow major version upgrades postgres:upgrade should not allow major version upgrade attempts Oct 18, 2022
@BorisKamp
Copy link

I just hosed my database image and had to restore from a backup because I attempted to use dokku postgres:upgrade myapp (with no args) to jump from 12.5 to 14.5. Now, I realize I probably should've read the docs first, but still, if major version upgrades via postgres:upgrade aren't allowed, then it shouldn't attempt them, and should perhaps spit out a link to the docs.

This is still a problem, I just had the same from 15.4 to (I thought) 15.5
It updated to 16.1 ......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants