DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 12.22 release changes
All features, fixes, and compatibility notes in this release, with related records from other versions.
Includes changes after the source version through the target. A major version name means its initial release.
Detect the source version from your database
Complete release changes
12.22
2024-11-21
12.22stableSupport ends 2024-11-21
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2024-10978 Restore functionality of ALTER {ROLE|DATABASE} SET role | 12.21 | Recorded fix |
PostgreSQL 12.22
Migration and compatibility
A dump/restore is not required for those running 12.X.
However, if you are upgrading from a version earlier than 12.18, see Section E.5.
SecurityRestore functionality of ALTER {ROLE|DATABASE} SET role
Changes
Restore functionality of ALTER {ROLE|DATABASE} SET role (Tom Lane, Noah Misch) §
The fix for CVE-2024-10978 accidentally caused settings for role to not be applied if they come from non-interactive sources, including previous ALTER {ROLE|DATABASE} commands and the PGOPTIONS environment variable.
Related records (5)
- Same changePostgreSQL 17.2 · Restore functionality of ALTER {ROLE|DATABASE} SET role
- Same changePostgreSQL 16.6 · Restore functionality of ALTER {ROLE|DATABASE} SET role
- Same changePostgreSQL 15.10 · Restore functionality of ALTER {ROLE|DATABASE} SET role
- Same changePostgreSQL 14.15 · Restore functionality of ALTER {ROLE|DATABASE} SET role
- Same changePostgreSQL 13.18 · Restore functionality of ALTER {ROLE|DATABASE} SET role
No matching changes
Try another search, or .
How is this comparison generated?
The comparison follows PostgreSQL release notes from just after the source through the target version. Confirmed backport duplicates are merged conservatively, with every original explanation retained. Related commits can represent independent changes; they remain separate records.
Release snapshot: 2026-11-19 · Security snapshot: 2026-09-26
Content comes from PostgreSQL release notes. Interaction inspired by pgversions.com and pgversionreport.