↑↓ select ↵ open ⌫ change scope Open full search

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

DocumentationVersion comparison

POSTGRESQL · VERSION COMPARE

PostgreSQL 9.1.5 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.

From PostgreSQL 9.0 onward: 17 major branches and 352 release notes. Updated 2026-09-26.

Complete release changes

9.1.5

2012-08-17

Export JSON
30changesFeatures, fixes, improvements
1releaseGrouped by release
2CVEsVulnerability IDs mentioned in these notes

9.1.5 HistoricalSupport ends 2016-10-27

Security records mentioned in this release 2 CVEs
CVEs mentioned in these notes, including possible follow-up fixes for earlier vulnerabilities
CVE / issueSeverityFixed version
CVE-2012-3489

Prevent access to external files/URLs via XML entity references

—9.1.5
CVE-2012-3488

Prevent access to external files/URLs via contrib/xml2's xslt_process()

—9.1.5

PostgreSQL 9.1.5

Migration and compatibility

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

However, if you are upgrading from a version earlier than 9.1.4, see Section E.21.

SecurityPrevent access to external files/URLs via XML entity references

Changes

Prevent access to external files/URLs via XML entity references (Noah Misch, Tom Lane)

xml_parse() would attempt to fetch external files or URLs as needed to resolve DTD and entity references in an XML value, thus allowing unprivileged database users to attempt to fetch data with the privileges of the database server. While the external data wouldn't get returned directly to the user, portions of it could be exposed in error messages if the data didn't parse as valid XML; and in any case the mere ability to check existence of a file might be useful to an attacker. (CVE-2012-3489)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

SecurityPrevent access to external files/URLs via contrib/xml2's xslt_process()

Changes

Prevent access to external files/URLs via contrib/xml2's xslt_process() (Peter Eisentraut)

libxslt offers the ability to read and write both files and URLs through stylesheet commands, thus allowing unprivileged database users to both read and write data with the privileges of the database server. Disable that through proper use of libxslt's security options. (CVE-2012-3488)

Also, remove xslt_process()'s ability to fetch documents and stylesheets from external files/URLs. While this was a documented "feature", it was long regarded as a bad idea. The fix for CVE-2012-3489 broke that capability, and rather than expend effort on trying to fix it, we're just going to summarily remove it.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsPrevent too-early recycling of btree index pages

Changes

Prevent too-early recycling of btree index pages (Noah Misch)

When we allowed read-only transactions to skip assigning XIDs, we introduced the possibility that a deleted btree page could be recycled while a read-only transaction was still in flight to it. This would result in incorrect index search results. The probability of such an error occurring in the field seems very low because of the timing requirements, but nonetheless it should be fixed.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix crash-safety bug with newly-created-or-reset sequences

Changes

Fix crash-safety bug with newly-created-or-reset sequences (Tom Lane)

If ALTER SEQUENCE was executed on a freshly created or reset sequence, and then precisely one nextval() call was made on it, and then the server crashed, WAL replay would restore the sequence to a state in which it appeared that no nextval() had been done, thus allowing the first sequence value to be returned again by the next nextval() call. In particular this could manifest for serial columns, since creation of a serial column's sequence includes an ALTER SEQUENCE OWNED BY step.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix race condition in enum-type value comparisons

Changes

Fix race condition in enum-type value comparisons (Robert Haas, Tom Lane)

Comparisons could fail when encountering an enum value added since the current query started.

Bug fixesFix txid_current() to report the correct epoch when not in hot standby

Changes

Fix txid_current() to report the correct epoch when not in hot standby (Heikki Linnakangas)

This fixes a regression introduced in the previous minor release.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsPrevent selection of unsuitable replication connections as the synchronous standby

Changes

Prevent selection of unsuitable replication connections as the synchronous standby (Fujii Masao)

The master might improperly choose pseudo-servers such as pg_receivexlog or pg_basebackup as the synchronous standby, and then wait indefinitely for them.

Bug fixesFix bug in startup of Hot Standby when a master transaction has many subtransactions

Changes

Fix bug in startup of Hot Standby when a master transaction has many subtransactions (Andres Freund)

This mistake led to failures reported as "out-of-order XID insertion in KnownAssignedXids".

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsEnsure the backup_label file is fsync'd after pg_start_backup()

Changes

Ensure the backup_label file is fsync'd after pg_start_backup() (Dave Kerr)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix timeout handling in walsender processes

Changes

Fix timeout handling in walsender processes (Tom Lane)

WAL sender background processes neglected to establish a SIGALRM handler, meaning they would wait forever in some corner cases where a timeout ought to happen.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsWake walsenders after each background flush by walwriter

Changes

Wake walsenders after each background flush by walwriter (Andres Freund, Simon Riggs)

This greatly reduces replication delay when the workload contains only asynchronously-committed transactions.

Bug fixesFix LISTEN/NOTIFY to cope better with I/O problems, such as out of disk space

Changes

Fix LISTEN/NOTIFY to cope better with I/O problems, such as out of disk space (Tom Lane)

After a write failure, all subsequent attempts to send more NOTIFY messages would fail with messages like "Could not read from file "pg_notify/nnnn" at offset nnnnn: Success".

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsOnly allow autovacuum to be auto-canceled by a directly blocked process

Changes

Only allow autovacuum to be auto-canceled by a directly blocked process (Tom Lane)

The original coding could allow inconsistent behavior in some cases; in particular, an autovacuum could get canceled after less than deadlock_timeout grace period.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsImprove logging of autovacuum cancels

Changes

Improve logging of autovacuum cancels (Robert Haas)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix log collector so that log_truncate_on_rotation works during the very first log rotation after server start

Changes

Fix log collector so that log_truncate_on_rotation works during the very first log rotation after server start (Tom Lane)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT)

Changes

Fix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT) (Tom Lane)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsEnsure that a whole-row reference to a subquery doesn't include any extra GROUP BY or ORDER BY columns

Changes

Ensure that a whole-row reference to a subquery doesn't include any extra GROUP BY or ORDER BY columns (Tom Lane)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix dependencies generated during ALTER TABLE ... ADD CONSTRAINT USING INDEX

Changes

Fix dependencies generated during ALTER TABLE ... ADD CONSTRAINT USING INDEX (Tom Lane)

This command left behind a redundant pg_depend entry for the index, which could confuse later operations, notably ALTER TABLE ... ALTER COLUMN TYPE on one of the indexed columns.

Bug fixesFix REASSIGN OWNED to work on extensions

Changes

Fix REASSIGN OWNED to work on extensions (Alvaro Herrera)

ImprovementsDisallow copying whole-row references in CHECK constraints and index definitions during CREATE TABLE

Changes

Disallow copying whole-row references in CHECK constraints and index definitions during CREATE TABLE (Tom Lane)

This situation can arise in CREATE TABLE with LIKE or INHERITS. The copied whole-row variable was incorrectly labeled with the row type of the original table not the new one. Rejecting the case seems reasonable for LIKE, since the row types might well diverge later. For INHERITS we should ideally allow it, with an implicit coercion to the parent table's row type; but that will require more work than seems safe to back-patch.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix memory leak in ARRAY(SELECT ...) subqueries

Changes

Fix memory leak in ARRAY(SELECT ...) subqueries (Heikki Linnakangas, Tom Lane)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix planner to pass correct collation to operator selectivity estimators

Changes

Fix planner to pass correct collation to operator selectivity estimators (Tom Lane)

This was not previously required by any core selectivity estimation function, but third-party code might need it.

Bug fixesFix extraction of common prefixes from regular expressions

Changes

Fix extraction of common prefixes from regular expressions (Tom Lane)

The code could get confused by quantified parenthesized subexpressions, such as ^(foo)?bar. This would lead to incorrect index optimization of searches for such patterns.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix bugs with parsing signed hh:mm and hh:mm:ss fields in interval constants

Changes

Fix bugs with parsing signed hh:mm and hh:mm:ss fields in interval constants (Amit Kapila, Tom Lane)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix pg_dump to better handle views containing partial GROUP BY lists

Changes

Fix pg_dump to better handle views containing partial GROUP BY lists (Tom Lane)

A view that lists only a primary key column in GROUP BY, but uses other table columns as if they were grouped, gets marked as depending on the primary key. Improper handling of such primary key dependencies in pg_dump resulted in poorly-ordered dumps, which at best would be inefficient to restore and at worst could result in outright failure of a parallel pg_restore run.

ImprovementsIn PL/Perl, avoid setting UTF8 flag when in SQL_ASCII encoding

Changes

In PL/Perl, avoid setting UTF8 flag when in SQL_ASCII encoding (Alex Hunsaker, Kyotaro Horiguchi, Alvaro Herrera)

ImprovementsUse Postgres' encoding conversion functions, not Python's, when converting a Python Unicode string to the server encoding in PL/Python

Changes

Use Postgres' encoding conversion functions, not Python's, when converting a Python Unicode string to the server encoding in PL/Python (Jan Urbanski)

This avoids some corner-case problems, notably that Python doesn't support all the encodings Postgres does. A notable functional change is that if the server encoding is SQL_ASCII, you will get the UTF-8 representation of the string; formerly, any non-ASCII characters in the string would result in an error.

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

Bug fixesFix mapping of PostgreSQL encodings to Python encodings in PL/Python

Changes

Fix mapping of PostgreSQL encodings to Python encodings in PL/Python (Jan Urbanski)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsReport errors properly in contrib/xml2's xslt_process()

Changes

Report errors properly in contrib/xml2's xslt_process() (Tom Lane)

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

ImprovementsUpdate time zone data files to tzdata release 2012e for DST law changes in Morocco and Tokelau

Changes

Update time zone data files to tzdata release 2012e for DST law changes in Morocco and Tokelau

Related records (1)

“Same change” requires complete matching evidence. “Related commits” can cover independent changes, a partial backport, or a follow-up correction; each release keeps its own explanation.

How is this comparison generated?

The comparison follows PostgreSQL release notes from just after the source through the target version. For a major upgrade, maintenance releases from each older branch are included only up to the next major release date, and never after the target date. A major version such as 18 means its initial release, 18.0. Previews and development snapshots are labeled separately.

Entries come from the original English manuals. Release coverage and commit evidence are verified against upstream sources. Every entry retains its complete explanation and source link. Categories aid browsing; read the full notes for impact, conditions, and migration steps.

Fixes can be backported to several branches. Confirmed duplicates are merged conservatively, with every branch explanation retained. A note describing several independent fixes is excluded only when all are already present in the source. Major-release features remain distinct from related maintenance patches unless their complete original descriptions match. Uncertain matches are retained. This is a release-note history, not an exhaustive comparison of compiled binaries.

CVE results are calculated independently from the PostgreSQL security registry and vulnerability records. A CVE counts as gained protection only when the source is affected and the target is fixed or unaffected. Remaining vulnerabilities are listed separately. Security entries and distinct CVEs are counted separately.

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