DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 13.18 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
13.18
2024-11-21
13.18stableSupport ends 2025-11-13
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2024-10978 Restore functionality of ALTER {ROLE|DATABASE} SET role | 13.17 | Recorded fix |
PostgreSQL 13.18
Migration and compatibility
A dump/restore is not required for those running 13.X.
However, if you are upgrading from a version earlier than 13.17, see Section E.7.
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 12.22 · Restore functionality of ALTER {ROLE|DATABASE} SET role
Bug fixesFix cases where a logical replication slot's restart_lsn could go backwards
Changes
Fix cases where a logical replication slot's restart_lsn could go backwards (Masahiko Sawada) §
Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in pg_replication_slots. This is bad, since for example WAL files might have been removed on the basis of the later restart_lsn value, in which case replication would fail to restart.
Related records (4)
- Same changePostgreSQL 17.2 · Fix cases where a logical replication slot's restart_lsn could go backwards
- Same changePostgreSQL 16.6 · Fix cases where a logical replication slot's restart_lsn could go backwards
- Same changePostgreSQL 15.10 · Fix cases where a logical replication slot's restart_lsn could go backwards
- Same changePostgreSQL 14.15 · Fix cases where a logical replication slot's restart_lsn could go backwards
ImprovementsCount index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter
Changes
Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter (Masahiro Ikeda) §
Related records (4)
- Same changePostgreSQL 17.2 · Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter
- Same changePostgreSQL 16.6 · Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter
- Same changePostgreSQL 15.10 · Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter
- Same changePostgreSQL 14.15 · Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter
Bug fixesFix crash when checking to see if an index's opclass options have changed
Changes
Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) §
Some forms of ALTER TABLE would fail if the table has an index with non-default operator class options.
Related records (4)
- Same changePostgreSQL 17.2 · Fix crash when checking to see if an index's opclass options have changed
- Same changePostgreSQL 16.6 · Fix crash when checking to see if an index's opclass options have changed
- Same changePostgreSQL 15.10 · Fix crash when checking to see if an index's opclass options have changed
- Same changePostgreSQL 14.15 · Fix crash when checking to see if an index's opclass options have changed
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.