-
Notifications
You must be signed in to change notification settings - Fork 262
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
chore: bump local pgsql from 11 to 14 #1073
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! lgtm
@lecoqjacob it seems like 1 test is failing. Can you reproduce it locally? |
Password hashing changed in v14 of psql to use sham-sha-256. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just have to verify the version stays in lockstep with the versions used for RDS
@@ -333,7 +333,7 @@ fn db_type_to_config(db_type: Type) -> EngineConfig { | |||
match db_type { | |||
Type::Shared(SharedEngine::Postgres) => EngineConfig { | |||
r#type: "shared_postgres".to_string(), | |||
image: "docker.io/library/postgres:11".to_string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tries to match the same version that is being provisioned for RDS instances to make local and prod identical. I might have missed when the RDS instances also got bumped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked in the console now and a bit more than half of our RDS instances are at 14 (the newer ones), and the older half is at 13. I don't see any below 13, and the most recent instance is actually 15. 😄 We don't explicitly set the version in provisioner when we provision RDS dbs, so perhaps it just uses latest
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Apologies for the delay.
Description of change
Bumps the local version of pgsql to match our deployed versions
Addresses: #1072