Repository navigation
fix(hack-postgres): hack postgres client since postgresql-client:18 is misbehaving, for #7661 - #7663
Merged
Merged
Conversation
…s misbehaving, for ddev#7661
|
Download the artifacts for this pull request:
See Testing a PR. |
Member
Author
|
We need to get this or something like it in to get tests working again. |
tyler36
approved these changes
Sep 26, 2025
Collaborator
There was a problem hiding this comment.
Looks good. Thank you.
Test
Current head
- Check DDEV version
$ ddev -v
ddev version v1.24.8-11-gbd427af39- Create "postgres:15" project
ddev config --database=postgres:15
ddev delete -Oy
ddev start -y- ❌ Confirm psql version
$ ddev exec psql --version # should get 15
psql (PostgreSQL) 18.0 (Debian 18.0-1.pgdg12+3)This PR
- Check DDEV version
$ ddev -v
ddev version v1.24.8-12-g17220e442- Create "postgres:15" project
ddev config --database=postgres:15
ddev delete -Oy
ddev start -y- ✅ Confirm psql version
$ ddev exec psql --version # should get 15
psql (PostgreSQL) 15.14 (Debian 15.14-1.pgdg12+1)
Member
Author
|
I'll pull this so we can get some tests done while Stas is sleeping still. It's just a temporary hack and we should be able to do better and figure out what's actually going on. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Issue
With the arrival of postgres 18, postgresql-client always installs 18 apparently
How This PR Solves The Issue
Temp hack, to be reverted:
Uninstall postgresql-client:18 after the required client is installed
Manual Testing Instructions
Automated Testing Overview
Release/Deployment Notes