↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

DocumentationVersion comparison

POSTGRESQL · VERSION COMPARE

PostgreSQL 17.4 release changes

All features, fixes, and compatibility notes in this release, with related records from other versions.

All changes in this release
All changes in this release

Includes changes after the source version through the target. A major version name means its initial release.

Complete release changes

17.4

2025-02-20

Export JSON ↓
3changesFeatures, fixes, improvements
1releasesGrouped by release
1CVEDistinct vulnerability IDs

17.4stableSupport ends 2029-11-08

Security changes
CVE / issueSeverityFixed versionSelection status
CVE-2025-1094

Improve behavior of libpq's quoting functions

17.3Recorded fix

PostgreSQL 17.4

Migration and compatibility

A dump/restore is not required for those running 17.X.

However, if you are upgrading from a version earlier than 17.1, see Section E.11.

SecurityImprove behavior of libpq's quoting functions

Changes

Improve behavior of libpq's quoting functions (Andres Freund, Tom Lane) § § §

The changes made for CVE-2025-1094 had one serious oversight: PQescapeLiteral() and PQescapeIdentifier() failed to honor their string length parameter, instead always reading to the input string's trailing null. This resulted in including unwanted text in the output, if the caller intended to truncate the string via the length parameter. With very bad luck it could cause a crash due to reading off the end of memory.

In addition, modify all these quoting functions so that when invalid encoding is detected, an invalid sequence is substituted for just the first byte of the presumed character, not all of it. This reduces the risk of problems if a calling application performs additional processing on the quoted string.

Related records (4)
Bug fixesFix small memory leak in pg_createsubscriber

Changes

Fix small memory leak in pg_createsubscriber (Ranier Vilela) §

Bug fixesFix meson build system to correctly detect availability of the bsd_auth.h system header

Changes

Fix meson build system to correctly detect availability of the bsd_auth.h system header (Nazir Bilal Yavuz) §

Related records (1)
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.