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

Dockerdev: Upgrade PostgreSQL from version 11 to 13 #28

Merged
merged 1 commit into from
Sep 29, 2020
Merged

Dockerdev: Upgrade PostgreSQL from version 11 to 13 #28

merged 1 commit into from
Sep 29, 2020

Conversation

oliverklee
Copy link
Contributor

No description provided.

@Envek
Copy link
Member

Envek commented Sep 26, 2020

But why not 13? 😄

Also interesting question here is data migration: you can't just change RDBMS major version, you also need upgrade data. For example with pg_upgrade (which requires both old and new versions). Or not migrate but rather drop database volume and resetup the database. But it's offtopic for this particular example, of course: it is not meant to cover all possible cases.

@oliverklee
Copy link
Contributor Author

Oh, I wasn't aware that version 13 already is available. :-)

I'll update the PR accordingly.

@oliverklee oliverklee changed the title Dockerdev: Upgrade PostgreSQL from version 11 to 12 Dockerdev: Upgrade PostgreSQL from version 11 to 13 Sep 26, 2020
@oliverklee
Copy link
Contributor Author

Done and repushed.

@Envek Envek merged commit 2b6a0a3 into evilmartians:master Sep 29, 2020
@Envek
Copy link
Member

Envek commented Sep 29, 2020

Thank you!

As a note: in your project you also need to bump docker image version to force its rebuild with newer client libraries.

Excerpt from our blog post:

You only need to upgrade the local image version every time you make changes to it (or to the arguments or files it relies on).

@oliverklee oliverklee deleted the task/pg-12 branch September 29, 2020 14:36
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

Successfully merging this pull request may close these issues.

None yet

2 participants