↑↓ 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.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.

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

Complete release changes

9.1.4

2012-06-04

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

9.1.4 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-2655

Ignore SECURITY DEFINER and SET attributes for a procedural language's call handler

—9.1.4
CVE-2012-2143

Fix incorrect password transformation in contrib/pgcrypto's DES crypt() function

—9.1.4

PostgreSQL 9.1.4

Migration and compatibility

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

However, if you use the citext data type, and you upgraded from a previous major release by running pg_upgrade, you should run CREATE EXTENSION citext FROM unpackaged to avoid collation-related failures in citext operations. The same is necessary if you restore a dump from a pre-9.1 database that contains an instance of the citext data type. If you've already run the CREATE EXTENSION command before upgrading to 9.1.4, you will instead need to do manual catalog updates as explained in the third changelog item below.

Also, if you are upgrading from a version earlier than 9.1.2, see Section E.23.

SecurityFix incorrect password transformation in contrib/pgcrypto's DES crypt() function

Changes

Fix incorrect password transformation in contrib/pgcrypto's DES crypt() function (Solar Designer)

If a password string contained the byte value 0x80, the remainder of the password was ignored, causing the password to be much weaker than it appeared. With this fix, the rest of the string is properly included in the DES hash. Any stored password values that are affected by this bug will thus no longer match, so the stored values may need to be updated. (CVE-2012-2143)

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.

SecurityIgnore SECURITY DEFINER and SET attributes for a procedural language's call handler

Changes

Ignore SECURITY DEFINER and SET attributes for a procedural language's call handler (Tom Lane)

Applying such attributes to a call handler could crash the server. (CVE-2012-2655)

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 fixesMake contrib/citext's upgrade script fix collations of citext arrays and domains over citext

Changes

Make contrib/citext's upgrade script fix collations of citext arrays and domains over citext (Tom Lane)

Release 9.1.2 provided a fix for collations of citext columns and indexes in databases upgraded or reloaded from pre-9.1 installations, but that fix was incomplete: it neglected to handle arrays and domains over citext. This release extends the module's upgrade script to handle these cases. As before, if you have already run the upgrade script, you'll need to run the collation update commands by hand instead. See the 9.1.2 release notes for more information about doing this.

ImprovementsAllow numeric timezone offsets in timestamp input to be up to 16 hours away from UTC

Changes

Allow numeric timezone offsets in timestamp input to be up to 16 hours away from UTC (Tom Lane)

Some historical time zones have offsets larger than 15 hours, the previous limit. This could result in dumped data values being rejected during reload.

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 timestamp conversion to cope when the given time is exactly the last DST transition time for the current timezone

Changes

Fix timestamp conversion to cope when the given time is exactly the last DST transition time for the current timezone (Tom Lane)

This oversight has been there a long time, but was not noticed previously because most DST-using zones are presumed to have an indefinite sequence of future DST transitions.

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 text to name and char to name casts to perform string truncation correctly in multibyte encodings

Changes

Fix text to name and char to name casts to perform string truncation correctly in multibyte encodings (Karl Schnaitter)

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 copying bug in to_tsquery()

Changes

Fix memory copying bug in to_tsquery() (Heikki Linnakangas)

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 fixesEnsure txid_current() reports the correct epoch when executed in hot standby

Changes

Ensure txid_current() reports the correct epoch when executed in hot standby (Simon Riggs)

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's handling of outer PlaceHolderVars within subqueries

Changes

Fix planner's handling of outer PlaceHolderVars within subqueries (Tom Lane)

This bug concerns sub-SELECTs that reference variables coming from the nullable side of an outer join of the surrounding query. In 9.1, queries affected by this bug would fail with "ERROR: Upper-level PlaceHolderVar found where not expected". But in 9.0 and 8.4, you'd silently get possibly-wrong answers, since the value transmitted into the subquery wouldn't go to null when it should.

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 planning of UNION ALL subqueries with output columns that are not simple variables

Changes

Fix planning of UNION ALL subqueries with output columns that are not simple variables (Tom Lane)

Planning of such cases got noticeably worse in 9.1 as a result of a misguided fix for "MergeAppend child's targetlist doesn't match MergeAppend" errors. Revert that fix and do it another way.

Bug fixesFix slow session startup when pg_attribute is very large

Changes

Fix slow session startup when pg_attribute is very large (Tom Lane)

If pg_attribute exceeds one-fourth of shared_buffers, cache rebuilding code that is sometimes needed during session start would trigger the synchronized-scan logic, causing it to take many times longer than normal. The problem was particularly acute if many new sessions were starting at once.

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 sequential scans check for query cancel reasonably often

Changes

Ensure sequential scans check for query cancel reasonably often (Merlin Moncure)

A scan encountering many consecutive pages that contain no live tuples would not respond to interrupts meanwhile.

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 Windows implementation of PGSemaphoreLock() clears ImmediateInterruptOK before returning

Changes

Ensure the Windows implementation of PGSemaphoreLock() clears ImmediateInterruptOK before returning (Tom Lane)

This oversight meant that a query-cancel interrupt received later in the same query could be accepted at an unsafe time, with unpredictable but not good consequences.

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.

ImprovementsShow whole-row variables safely when printing views or rules

Changes

Show whole-row variables safely when printing views or rules (Abbas Butt, Tom Lane)

Corner cases involving ambiguous names (that is, the name could be either a table or column name of the query) were printed in an ambiguous way, risking that the view or rule would be interpreted differently after dump and reload. Avoid the ambiguous case by attaching a no-op cast.

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 COPY FROM to properly handle null marker strings that correspond to invalid encoding

Changes

Fix COPY FROM to properly handle null marker strings that correspond to invalid encoding (Tom Lane)

A null marker string such as E'\\0' should work, and did work in the past, but the case got broken in 8.4.

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 EXPLAIN VERBOSE for writable CTEs containing RETURNING clauses

Changes

Fix EXPLAIN VERBOSE for writable CTEs containing RETURNING clauses (Tom Lane)

Bug fixesFix PREPARE TRANSACTION to work correctly in the presence of advisory locks

Changes

Fix PREPARE TRANSACTION to work correctly in the presence of advisory locks (Tom Lane)

Historically, PREPARE TRANSACTION has simply ignored any session-level advisory locks the session holds, but this case was accidentally broken in 9.1.

Bug fixesFix truncation of unlogged tables

Changes

Fix truncation of unlogged tables (Robert Haas)

ImprovementsIgnore missing schemas during non-interactive assignments of search_path

Changes

Ignore missing schemas during non-interactive assignments of search_path (Tom Lane)

This re-aligns 9.1's behavior with that of older branches. Previously 9.1 would throw an error for nonexistent schemas mentioned in search_path settings obtained from places such as ALTER DATABASE SET.

Bug fixesFix bugs with temporary or transient tables used in extension scripts

Changes

Fix bugs with temporary or transient tables used in extension scripts (Tom Lane)

This includes cases such as a rewriting ALTER TABLE within an extension update script, since that uses a transient table behind the scenes.

ImprovementsEnsure autovacuum worker processes perform stack depth checking properly

Changes

Ensure autovacuum worker processes perform stack depth checking properly (Heikki Linnakangas)

Previously, infinite recursion in a function invoked by auto-ANALYZE could crash worker processes.

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 logging collector to not lose log coherency under high load

Changes

Fix logging collector to not lose log coherency under high load (Andrew Dunstan)

The collector previously could fail to reassemble large messages if it got too busy.

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 logging collector to ensure it will restart file rotation after receiving SIGHUP

Changes

Fix logging collector to ensure it will restart file rotation after receiving SIGHUP (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 "too many LWLocks taken" failure in GiST indexes

Changes

Fix "too many LWLocks taken" failure in GiST indexes (Heikki Linnakangas)

Bug fixesFix WAL replay logic for GIN indexes to not fail if the index was subsequently dropped

Changes

Fix WAL replay logic for GIN indexes to not fail if the index was subsequently dropped (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.

ImprovementsCorrectly detect SSI conflicts of prepared transactions after a crash

Changes

Correctly detect SSI conflicts of prepared transactions after a crash (Dan Ports)

ImprovementsAvoid synchronous replication delay when committing a transaction that only modified temporary tables

Changes

Avoid synchronous replication delay when committing a transaction that only modified temporary tables (Heikki Linnakangas)

In such a case the transaction's commit record need not be flushed to standby servers, but some of the code didn't know that and waited for it to happen anyway.

Bug fixesFix error handling in pg_basebackup

Changes

Fix error handling in pg_basebackup (Thomas Ogrisegg, Fujii Masao)

Bug fixesFix walsender to not go into a busy loop if connection is terminated

Changes

Fix walsender to not go into a busy loop if connection is terminated (Fujii Masao)

Bug fixesFix memory leak in PL/pgSQL's RETURN NEXT command

Changes

Fix memory leak in PL/pgSQL's RETURN NEXT command (Joe Conway)

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 PL/pgSQL's GET DIAGNOSTICS command when the target is the function's first variable

Changes

Fix PL/pgSQL's GET DIAGNOSTICS command when the target is the function's first variable (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 PL/Perl package-qualifies the _TD variable

Changes

Ensure that PL/Perl package-qualifies the _TD variable (Alex Hunsaker)

This bug caused trigger invocations to fail when they are nested within a function invocation that changes the current package.

Bug fixesFix PL/Python functions returning composite types to accept a string for their result value

Changes

Fix PL/Python functions returning composite types to accept a string for their result value (Jan Urbanski)

This case was accidentally broken by the 9.1 additions to allow a composite result value to be supplied in other formats, such as dictionaries.

Bug fixesFix potential access off the end of memory in psql's expanded display (\x) mode

Changes

Fix potential access off the end of memory in psql's expanded display (\x) mode (Peter Eisentraut)

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 several performance problems in pg_dump when the database contains many objects

Changes

Fix several performance problems in pg_dump when the database contains many objects (Jeff Janes, Tom Lane)

pg_dump could get very slow if the database contained many schemas, or if many objects are in dependency loops, or if there are many owned sequences.

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 and file descriptor leaks in pg_restore when reading a directory-format archive

Changes

Fix memory and file descriptor leaks in pg_restore when reading a directory-format archive (Peter Eisentraut)

Bug fixesFix pg_upgrade for the case that a database stored in a non-default tablespace contains a table in the cluster's default tablespace

Changes

Fix pg_upgrade for the case that a database stored in a non-default tablespace contains a table in the cluster's default tablespace (Bruce Momjian)

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 fixesIn ecpg, fix rare memory leaks and possible overwrite of one byte after the sqlca_t structure

Changes

In ecpg, fix rare memory leaks and possible overwrite of one byte after the sqlca_t structure (Peter Eisentraut)

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 contrib/dblink's dblink_exec() to not leak temporary database connections upon error

Changes

Fix contrib/dblink's dblink_exec() to not leak temporary database connections upon error (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 contrib/dblink to report the correct connection name in error messages

Changes

Fix contrib/dblink to report the correct connection name in error messages (Kyotaro Horiguchi)

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 contrib/vacuumlo to use multiple transactions when dropping many large objects

Changes

Fix contrib/vacuumlo to use multiple transactions when dropping many large objects (Tim Lewis, Robert Haas, Tom Lane)

This change avoids exceeding max_locks_per_transaction when many objects need to be dropped. The behavior can be adjusted with the new -l (limit) option.

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 2012c for DST law changes in Antarctica, Armenia, Chile, Cuba, Falkland Islands, Gaza, Haiti, Hebron, Morocco, Syria, and Tokelau Islands; also historical corrections for Canada.

Changes

Update time zone data files to tzdata release 2012c for DST law changes in Antarctica, Armenia, Chile, Cuba, Falkland Islands, Gaza, Haiti, Hebron, Morocco, Syria, and Tokelau Islands; also historical corrections for Canada.

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.