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

Bump postgres to version 15 #151

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Bump postgres to version 15 #151

merged 2 commits into from
Sep 29, 2023

Conversation

philmcmahon
Copy link
Contributor

What does this change?

There is currently a mismatch between the version of postgres we are running locally via docker and the version we are running in RDS. Rather than downgrade our local version I decided to upgrade to 15.3 in RDS. As we're using 15.3 locally already, we have a good amount of confidence that we won't have any compatability issues.

How to test

This has already been deployed on CODE and doesn't appear to cause any issues.

Deploy steps for PROD:

  • merge this
  • deploy via riffraff

How can we measure success?

Queries that work locally should also work in AWS 🎉

@philmcmahon philmcmahon requested a review from a team as a code owner September 29, 2023 13:37
Copy link
Contributor

@marjisound marjisound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}),
allowMajorVersionUpgrade: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my own understanding, what would happen if we don't use this field? allowMajorVersionUpgrade

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgrade would be blocked by RDS - it's like an extra safety feature. Once this is merged and the DB has been upgraded on PROD i think we should remove this line again so we don't accidentally upgrade!

@philmcmahon philmcmahon merged commit 4f61f55 into main Sep 29, 2023
2 checks passed
@philmcmahon philmcmahon deleted the pm-upgrade-postgres branch September 29, 2023 14:13
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.

2 participants