-
Notifications
You must be signed in to change notification settings - Fork 1
feat(container): update postgres ( 16.6 → v16.11 ) #616
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
Open
homebot-0
wants to merge
1
commit into
main
Choose a base branch
from
renovate/postgres-16.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1
−1
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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.
🧩 Analysis chain
🌐 Web query:
PostgreSQL 16.11 release notes breaking changes💡 Result:
PostgreSQL 16.11 (released 2025-11-13) is a minor release and does not require a dump/restore for upgrades from 16.x, but it does include a few user-visible behavior changes that can be “breaking” depending on what you rely on: 1
CREATE STATISTICS: you now must haveCREATEprivilege on the target schema (previously, table owners could create stats in schemas they didn’t haveCREATEon). This can break scripts that created statistics in shared schemas. 1COPY ... FROM ... WHEREclauses: referencing generated columns is now disallowed (previously produced incorrect behavior or confusing errors). 1MERGEthat mayUPDATE/DELETEon a table that publishes updates/deletes now requiresREPLICA IDENTITY.INSERT ... ON CONFLICT DO UPDATEon a table that publishes inserts/updates now requiresREPLICA IDENTITY. 1pg_filenode_relation()behavior change: as a side-effect of a fix, it will now ignore temporary tables, which can affect diagnostic tooling that expected temp-table mappings. 1Source: PostgreSQL 16.11 release notes. 1
🌐 Web query:
postgres 16.11-alpine Docker Hub official image tag💡 Result:
The Docker Official Image tag you want is:
postgres:16.11-alpine1(There are also Alpine-version-pinned variants:
postgres:16.11-alpine3.23andpostgres:16.11-alpine3.22.) 1🌐 Web query:
PostgreSQL 16 minor versions changelog 16.7 16.8 16.9 16.10 16.11💡 Result:
PostgreSQL 16 minor release changelog (16.7 → 16.11)
PQescapeStringand related quoting against invalidly-encoded input; plus multiple correctness/stability fixes (catalog/cache races, truncation/checkpoint safety, etc.). 1PQescapeLiteral,PQescapeIdentifier) to honor the length parameter (regression/oversight related to CVE-2025-1094 changes) and improve handling of invalid encodings; meson: header-detection fix. 2MERGE/planner/replication/index fixes. 3numeric_minmax_multi_opscorrectness fix (reindex recommended); plusMERGE/partitioning/XML and other fixes. 4CREATEprivilege on schema forCREATE STATISTICS(CVE-2025-12817); libpq allocation-size overflow fixes (CVE-2025-12818); plus multiple planner/index/cancellation/BRIN autosummarization and other fixes. 5Sources (official release notes): 16.7 1, 16.8 2, 16.9 3, 16.10 4, 16.11 5.
Flag specific breaking changes in PostgreSQL 16.11 before merge.
The tag
postgres:16.11-alpineexists and the upgrade from 16.x does not require dump/restore. However, 16.11 introduces behavior changes that may impact the deployment:CREATE STATISTICSnow requiresCREATEprivilege on the target schema (CVE-2025-12817) — will break if litellm creates statistics in shared schemasMERGEandINSERT ... ON CONFLICT DO UPDATEnow requireREPLICA IDENTITYon published tables — check if replication is configuredpg_filenode_relation()ignores temporary tables — if diagnostics tooling depends on temp-table mapping, behavior will changeSecurity fixes (libpq CVE-2025-12818, planner hardening CVE-2025-8713) are worth the upgrade if none of the above apply to your schema/workload.
🤖 Prompt for AI Agents