↑↓ select↵ open⌫ change scopeOpen full search

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

DocumentationVersion comparison

POSTGRESQL · VERSION COMPARE

PostgreSQL 16.8 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

16.8

2025-02-20

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

16.8stableSupport ends 2028-11-09

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

Improve behavior of libpq's quoting functions

16.7Recorded fix

PostgreSQL 16.8

Migration and compatibility

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

However, if you are upgrading from a version earlier than 16.5, 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 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-09-26 · Security snapshot: 2026-09-26

Content comes from PostgreSQL release notes. Interaction inspired by pgversions.com and pgversionreport.