Repository navigation
service: upgrade postgresql-client version - #2317
Merged
Merged
Conversation
added 2 commits
November 9, 2026 11:56
Upgrades `postgresql-client` dependency version from 14 to 18. This version number dictates the version of `pg_dump` and `pg_restore` which `central-backend` will use when backing up and restoring database contents. The version of `pg_dump` must be less than or equal to the version of PostgreSQL where the backup will be restored to. Related: * getodk#2285 * getodk#2315
alxndrsn
marked this pull request as ready for review
November 9, 2026 12:02
alxndrsn
force-pushed
the
upgrade-postgres-client-version
branch
from
November 9, 2026 12:44
6a933f0 to
f17266a
Compare
lognaturel
approved these changes
Nov 10, 2026
lognaturel
left a comment
Member
There was a problem hiding this comment.
#2318 would be nice to get into the release if possible.
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.
Upgrades
postgresql-clientdependency version from 14 to 18. This version number dictates the version ofpg_dumpandpg_restorewhichcentral-backendwill use when backing up and restoring database contents. The version ofpg_dumpmust be less than or equal to the version of PostgreSQL where the backup will be restored to.Related:
What has been done to verify that this works as intended?
Why is this the best possible solution? Were any other approaches considered?
Could stick on v14, or something else between there and 18. See #2315 for more info.
Ideally there would be a test in this repo that uses the recommended commands at
central-backupto:A ticket has been created for this at #2318
How does this change impact users? Describe intentional behavior changes from code updates. What are the regression risks?
A risk for deployers who upgrade central without upgrading to postgres v18.
Is this change user-facing or otherwise noteworthy to users? If so, please add an entry for it in CHANGELOG.md.
CHANGELOGupdatedDoes this change require updates to documentation? If so, please file an issue here and include the link below.
I don't think so.