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

Install postgresql-client-${PG_MAJOR} instead of postgresql-client #892

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Dec 3, 2024

This ensures that the client tools we install are compatible with the
version of the Postgres cluster.

I discovered this bug when a Discourse backup was taken using pg_dump versioned 17.2 which cannot be restored onto postgres clusters < 17.2.

This ensures that the client tools we installed are compatible with the
version of the Postgres cluster.
@tgxworld tgxworld merged commit a0be7c9 into main Dec 3, 2024
3 checks passed
@tgxworld tgxworld deleted the fix_wrong_client_packages_installed branch December 3, 2024 02:51
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/backups-fail-with-postgres-16-database-and-all-pg-13/343432/2

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

Successfully merging this pull request may close these issues.

3 participants