DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 9.3.23 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
9.3.23
2018-05-10
9.3.23stableSupport ends 2018-11-08
PostgreSQL 9.3.23
Migration and compatibility
A dump/restore is not required for those running 9.3.X.
However, if the function marking mistakes mentioned in the first changelog entry below affect you, you will want to take steps to correct your database catalogs.
Also, if you are upgrading from a version earlier than 9.3.22, see Section E.4.
Bug fixesFix incorrect volatility markings on a few built-in functions
Changes
Fix incorrect volatility markings on a few built-in functions (Thomas Munro, Tom Lane)
The functions query_to_xml, cursor_to_xml, cursor_to_xmlschema, query_to_xmlschema, and query_to_xml_and_xmlschema should be marked volatile because they execute user-supplied queries that might contain volatile operations. They were not, leading to a risk of incorrect query optimization. This has been repaired for new installations by correcting the initial catalog data, but existing installations will continue to contain the incorrect markings. Practical use of these functions seems to pose little hazard, but in case of trouble, it can be fixed by manually updating these functions' pg_proc entries, for example ALTER FUNCTION pg_catalog.query_to_xml(text, boolean, boolean, text) VOLATILE. (Note that that will need to be done in each database of the installation.) Another option is to pg_upgrade the database to a version containing the corrected initial data.
Related records (4)
- Same changePostgreSQL 10.4 · Fix incorrect volatility markings on a few built-in functions
- Same changePostgreSQL 9.6.9 · Fix incorrect volatility markings on a few built-in functions
- Same changePostgreSQL 9.5.13 · Fix incorrect volatility markings on a few built-in functions
- Same changePostgreSQL 9.4.18 · Fix incorrect volatility markings on a few built-in functions
ImprovementsAvoid re-using TOAST value OIDs that match dead-but-not-yet-vacuumed TOAST entries
Changes
Avoid re-using TOAST value OIDs that match dead-but-not-yet-vacuumed TOAST entries (Pavan Deolasee)
Once the OID counter has wrapped around, it's possible to assign a TOAST value whose OID matches a previously deleted entry in the same TOAST table. If that entry were not yet vacuumed away, this resulted in "unexpected chunk number 0 (expected 1) for toast value nnnnn" errors, which would persist until the dead entry was removed by VACUUM. Fix by not selecting such OIDs when creating a new TOAST entry.
Related records (4)
- Same changePostgreSQL 10.4 · Avoid re-using TOAST value OIDs that match dead-but-not-yet-vacuumed TOAST entries
- Same changePostgreSQL 9.6.9 · Avoid re-using TOAST value OIDs that match dead-but-not-yet-vacuumed TOAST entries
- Same changePostgreSQL 9.5.13 · Avoid re-using TOAST value OIDs that match dead-but-not-yet-vacuumed TOAST entries
- Same changePostgreSQL 9.4.18 · Avoid re-using TOAST value OIDs that match dead-but-not-yet-vacuumed TOAST entries
ImprovementsChange ANALYZE's algorithm for updating pg_class.reltuples
Changes
Change ANALYZE's algorithm for updating pg_class.reltuples (David Gould)
Previously, pages not actually scanned by ANALYZE were assumed to retain their old tuple density. In a large table where ANALYZE samples only a small fraction of the pages, this meant that the overall tuple density estimate could not change very much, so that reltuples would change nearly proportionally to changes in the table's physical size (relpages) regardless of what was actually happening in the table. This has been observed to result in reltuples becoming so much larger than reality as to effectively shut off autovacuuming. To fix, assume that ANALYZE's sample is a statistically unbiased sample of the table (as it should be), and just extrapolate the density observed within those pages to the whole table.
Related records (4)
- Same changePostgreSQL 10.4 · Change ANALYZE's algorithm for updating pg_class.reltuples
- Same changePostgreSQL 9.6.9 · Change ANALYZE's algorithm for updating pg_class.reltuples
- Same changePostgreSQL 9.5.13 · Change ANALYZE's algorithm for updating pg_class.reltuples
- Same changePostgreSQL 9.4.18 · Change ANALYZE's algorithm for updating pg_class.reltuples
Bug fixesFix UPDATE/DELETE ... WHERE CURRENT OF to not fail when the referenced cursor uses an index-only-scan plan
Changes
Fix UPDATE/DELETE ... WHERE CURRENT OF to not fail when the referenced cursor uses an index-only-scan plan (Yugo Nagata, Tom Lane)
Related records (4)
- Same changePostgreSQL 10.4 · Fix UPDATE/DELETE ... WHERE CURRENT OF to not fail when the referenced cursor uses an index-only-scan plan
- Same changePostgreSQL 9.6.9 · Fix UPDATE/DELETE ... WHERE CURRENT OF to not fail when the referenced cursor uses an index-only-scan plan
- Same changePostgreSQL 9.5.13 · Fix UPDATE/DELETE ... WHERE CURRENT OF to not fail when the referenced cursor uses an index-only-scan plan
- Same changePostgreSQL 9.4.18 · Fix UPDATE/DELETE ... WHERE CURRENT OF to not fail when the referenced cursor uses an index-only-scan plan
Bug fixesFix incorrect planning of join clauses pushed into parameterized paths
Changes
Fix incorrect planning of join clauses pushed into parameterized paths (Andrew Gierth, Tom Lane)
This error could result in misclassifying a condition as a "join filter" for an outer join when it should be a plain "filter" condition, leading to incorrect join output.
Related records (4)
- Same changePostgreSQL 10.4 · Fix incorrect planning of join clauses pushed into parameterized paths
- Same changePostgreSQL 9.6.9 · Fix incorrect planning of join clauses pushed into parameterized paths
- Same changePostgreSQL 9.5.13 · Fix incorrect planning of join clauses pushed into parameterized paths
- Same changePostgreSQL 9.4.18 · Fix incorrect planning of join clauses pushed into parameterized paths
Bug fixesFix misoptimization of CHECK constraints having provably-NULL subclauses of top-level AND/OR conditions
Changes
Fix misoptimization of CHECK constraints having provably-NULL subclauses of top-level AND/OR conditions (Tom Lane, Dean Rasheed)
This could, for example, allow constraint exclusion to exclude a child table that should not be excluded from a query.
Related records (4)
- Same changePostgreSQL 10.4 · Fix misoptimization of CHECK constraints having provably-NULL subclauses of top-level AND/OR conditions
- Same changePostgreSQL 9.6.9 · Fix misoptimization of CHECK constraints having provably-NULL subclauses of top-level AND/OR conditions
- Same changePostgreSQL 9.5.13 · Fix misoptimization of CHECK constraints having provably-NULL subclauses of top-level AND/OR conditions
- Same changePostgreSQL 9.4.18 · Fix misoptimization of CHECK constraints having provably-NULL subclauses of top-level AND/OR conditions
ImprovementsAvoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction
Changes
Avoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction (Stas Kelvich)
Related records (4)
- Same changePostgreSQL 10.4 · Avoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction
- Same changePostgreSQL 9.6.9 · Avoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction
- Same changePostgreSQL 9.5.13 · Avoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction
- Same changePostgreSQL 9.4.18 · Avoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction
Bug fixesFix query-lifespan memory leakage in repeatedly executed hash joins
Changes
Fix query-lifespan memory leakage in repeatedly executed hash joins (Tom Lane)
Related records (4)
- Same changePostgreSQL 10.4 · Fix query-lifespan memory leakage in repeatedly executed hash joins
- Same changePostgreSQL 9.6.9 · Fix query-lifespan memory leakage in repeatedly executed hash joins
- Same changePostgreSQL 9.5.13 · Fix query-lifespan memory leakage in repeatedly executed hash joins
- Same changePostgreSQL 9.4.18 · Fix query-lifespan memory leakage in repeatedly executed hash joins
Bug fixesFix overly strict sanity check in heap_prepare_freeze_tuple
Changes
Fix overly strict sanity check in heap_prepare_freeze_tuple (Álvaro Herrera)
This could result in incorrect "cannot freeze committed xmax" failures in databases that have been pg_upgrade'd from 9.2 or earlier.
Related records (4)
- Same changePostgreSQL 10.4 · Fix overly strict sanity check in heap_prepare_freeze_tuple
- Same changePostgreSQL 9.6.9 · Fix overly strict sanity check in heap_prepare_freeze_tuple
- Same changePostgreSQL 9.5.13 · Fix overly strict sanity check in heap_prepare_freeze_tuple
- Same changePostgreSQL 9.4.18 · Fix overly strict sanity check in heap_prepare_freeze_tuple
ImprovementsPrevent dangling-pointer dereference when a C-coded before-update row trigger returns the "old" tuple
Changes
Prevent dangling-pointer dereference when a C-coded before-update row trigger returns the "old" tuple (Rushabh Lathia)
Related records (4)
- Same changePostgreSQL 10.4 · Prevent dangling-pointer dereference when a C-coded before-update row trigger returns the “old” tuple
- Same changePostgreSQL 9.6.9 · Prevent dangling-pointer dereference when a C-coded before-update row trigger returns the "old" tuple
- Same changePostgreSQL 9.5.13 · Prevent dangling-pointer dereference when a C-coded before-update row trigger returns the "old" tuple
- Same changePostgreSQL 9.4.18 · Prevent dangling-pointer dereference when a C-coded before-update row trigger returns the "old" tuple
ImprovementsReduce locking during autovacuum worker scheduling
Changes
Reduce locking during autovacuum worker scheduling (Jeff Janes)
The previous behavior caused drastic loss of potential worker concurrency in databases with many tables.
Related records (4)
- Same changePostgreSQL 10.4 · Reduce locking during autovacuum worker scheduling
- Same changePostgreSQL 9.6.9 · Reduce locking during autovacuum worker scheduling
- Same changePostgreSQL 9.5.13 · Reduce locking during autovacuum worker scheduling
- Same changePostgreSQL 9.4.18 · Reduce locking during autovacuum worker scheduling
ImprovementsEnsure client hostname is copied while copying pg_stat_activity data to local memory
Changes
Ensure client hostname is copied while copying pg_stat_activity data to local memory (Edmund Horner)
Previously the supposedly-local snapshot contained a pointer into shared memory, allowing the client hostname column to change unexpectedly if any existing session disconnected.
Related records (4)
- Same changePostgreSQL 10.4 · Ensure client hostname is copied while copying pg_stat_activity data to local memory
- Same changePostgreSQL 9.6.9 · Ensure client hostname is copied while copying pg_stat_activity data to local memory
- Same changePostgreSQL 9.5.13 · Ensure client hostname is copied while copying pg_stat_activity data to local memory
- Same changePostgreSQL 9.4.18 · Ensure client hostname is copied while copying pg_stat_activity data to local memory
Bug fixesFix incorrect processing of multiple compound affixes in ispell dictionaries
Changes
Fix incorrect processing of multiple compound affixes in ispell dictionaries (Arthur Zakirov)
Related records (4)
- Same changePostgreSQL 10.4 · Fix incorrect processing of multiple compound affixes in ispell dictionaries
- Same changePostgreSQL 9.6.9 · Fix incorrect processing of multiple compound affixes in ispell dictionaries
- Same changePostgreSQL 9.5.13 · Fix incorrect processing of multiple compound affixes in ispell dictionaries
- Same changePostgreSQL 9.4.18 · Fix incorrect processing of multiple compound affixes in ispell dictionaries
Bug fixesFix collation-aware searches (that is, indexscans using inequality operators) in SP-GiST indexes on text columns
Changes
Fix collation-aware searches (that is, indexscans using inequality operators) in SP-GiST indexes on text columns (Tom Lane)
Such searches would return the wrong set of rows in most non-C locales.
Related records (4)
- Same changePostgreSQL 10.4 · Fix collation-aware searches (that is, indexscans using inequality operators) in SP-GiST indexes on text columns
- Same changePostgreSQL 9.6.9 · Fix collation-aware searches (that is, indexscans using inequality operators) in SP-GiST indexes on text columns
- Same changePostgreSQL 9.5.13 · Fix collation-aware searches (that is, indexscans using inequality operators) in SP-GiST indexes on text columns
- Same changePostgreSQL 9.4.18 · Fix collation-aware searches (that is, indexscans using inequality operators) in SP-GiST indexes on text columns
ImprovementsCount the number of index tuples correctly during initial build of an SP-GiST index
Changes
Count the number of index tuples correctly during initial build of an SP-GiST index (Tomas Vondra)
Previously, the tuple count was reported to be the same as that of the underlying table, which is wrong if the index is partial.
Related records (4)
- Same changePostgreSQL 10.4 · Count the number of index tuples correctly during initial build of an SP-GiST index
- Same changePostgreSQL 9.6.9 · Count the number of index tuples correctly during initial build of an SP-GiST index
- Same changePostgreSQL 9.5.13 · Count the number of index tuples correctly during initial build of an SP-GiST index
- Same changePostgreSQL 9.4.18 · Count the number of index tuples correctly during initial build of an SP-GiST index
ImprovementsCount the number of index tuples correctly during vacuuming of a GiST index
Changes
Count the number of index tuples correctly during vacuuming of a GiST index (Andrey Borodin)
Previously it reported the estimated number of heap tuples, which might be inaccurate, and is certainly wrong if the index is partial.
Related records (4)
- Same changePostgreSQL 10.4 · Count the number of index tuples correctly during vacuuming of a GiST index
- Same changePostgreSQL 9.6.9 · Count the number of index tuples correctly during vacuuming of a GiST index
- Same changePostgreSQL 9.5.13 · Count the number of index tuples correctly during vacuuming of a GiST index
- Same changePostgreSQL 9.4.18 · Count the number of index tuples correctly during vacuuming of a GiST index
ImprovementsAllow scalarltsel and scalargtsel to be used on non-core datatypes
Changes
Allow scalarltsel and scalargtsel to be used on non-core datatypes (Tomas Vondra)
Related records (4)
- Same changePostgreSQL 10.4 · Allow scalarltsel and scalargtsel to be used on non-core datatypes
- Same changePostgreSQL 9.6.9 · Allow scalarltsel and scalargtsel to be used on non-core datatypes
- Same changePostgreSQL 9.5.13 · Allow scalarltsel and scalargtsel to be used on non-core datatypes
- Same changePostgreSQL 9.4.18 · Allow scalarltsel and scalargtsel to be used on non-core datatypes
ImprovementsReduce libpq's memory consumption when a server error is reported after a large amount of query output has been collected
Changes
Reduce libpq's memory consumption when a server error is reported after a large amount of query output has been collected (Tom Lane)
Discard the previous output before, not after, processing the error message. On some platforms, notably Linux, this can make a difference in the application's subsequent memory footprint.
Related records (4)
- Same changePostgreSQL 10.4 · Reduce libpq's memory consumption when a server error is reported after a large amount of query output has been collected
- Same changePostgreSQL 9.6.9 · Reduce libpq's memory consumption when a server error is reported after a large amount of query output has been collected
- Same changePostgreSQL 9.5.13 · Reduce libpq's memory consumption when a server error is reported after a large amount of query output has been collected
- Same changePostgreSQL 9.4.18 · Reduce libpq's memory consumption when a server error is reported after a large amount of query output has been collected
Bug fixesFix double-free crashes in ecpg
Changes
Fix double-free crashes in ecpg (Patrick Krecker, Jeevan Ladhe)
Related records (4)
Bug fixesFix ecpg to handle long long int variables correctly in MSVC builds
Changes
Fix ecpg to handle long long int variables correctly in MSVC builds (Michael Meskes, Andrew Gierth)
Related records (4)
- Same changePostgreSQL 10.4 · Fix ecpg to handle long long int variables correctly in MSVC builds
- Same changePostgreSQL 9.6.9 · Fix ecpg to handle long long int variables correctly in MSVC builds
- Same changePostgreSQL 9.5.13 · Fix ecpg to handle long long int variables correctly in MSVC builds
- Same changePostgreSQL 9.4.18 · Fix ecpg to handle long long int variables correctly in MSVC builds
Bug fixesFix mis-quoting of values for list-valued GUC variables in dumps
Changes
Fix mis-quoting of values for list-valued GUC variables in dumps (Michael Paquier, Tom Lane)
The local_preload_libraries, session_preload_libraries, shared_preload_libraries, and temp_tablespaces variables were not correctly quoted in pg_dump output. This would cause problems if settings for these variables appeared in CREATE FUNCTION ... SET or ALTER DATABASE/ROLE ... SET clauses.
Related records (4)
- Same changePostgreSQL 10.4 · Fix mis-quoting of values for list-valued GUC variables in dumps
- Same changePostgreSQL 9.6.9 · Fix mis-quoting of values for list-valued GUC variables in dumps
- Same changePostgreSQL 9.5.13 · Fix mis-quoting of values for list-valued GUC variables in dumps
- Same changePostgreSQL 9.4.18 · Fix mis-quoting of values for list-valued GUC variables in dumps
Bug fixesFix overflow handling in PL/pgSQL integer FOR loops
Changes
Fix overflow handling in PL/pgSQL integer FOR loops (Tom Lane)
The previous coding failed to detect overflow of the loop variable on some non-gcc compilers, leading to an infinite loop.
Related records (4)
- Same changePostgreSQL 10.4 · Fix overflow handling in PL/pgSQL integer FOR loops
- Same changePostgreSQL 9.6.9 · Fix overflow handling in PL/pgSQL integer FOR loops
- Same changePostgreSQL 9.5.13 · Fix overflow handling in PL/pgSQL integer FOR loops
- Same changePostgreSQL 9.4.18 · Fix overflow handling in PL/pgSQL integer FOR loops
ImprovementsAdjust PL/Python regression tests to pass under Python 3.7
Changes
Adjust PL/Python regression tests to pass under Python 3.7 (Peter Eisentraut)
Related records (4)
- Same changePostgreSQL 10.4 · Adjust PL/Python regression tests to pass under Python 3.7
- Same changePostgreSQL 9.6.9 · Adjust PL/Python regression tests to pass under Python 3.7
- Same changePostgreSQL 9.5.13 · Adjust PL/Python regression tests to pass under Python 3.7
- Same changePostgreSQL 9.4.18 · Adjust PL/Python regression tests to pass under Python 3.7
ImprovementsSupport testing PL/Python and related modules when building with Python 3 and MSVC
Changes
Support testing PL/Python and related modules when building with Python 3 and MSVC (Andrew Dunstan)
Related records (4)
- Same changePostgreSQL 10.4 · Support testing PL/Python and related modules when building with Python 3 and MSVC
- Same changePostgreSQL 9.6.9 · Support testing PL/Python and related modules when building with Python 3 and MSVC
- Same changePostgreSQL 9.5.13 · Support testing PL/Python and related modules when building with Python 3 and MSVC
- Same changePostgreSQL 9.4.18 · Support testing PL/Python and related modules when building with Python 3 and MSVC
ImprovementsRename internal b64_encode and b64_decode functions to avoid conflict with Solaris 11.4 built-in functions
Changes
Rename internal b64_encode and b64_decode functions to avoid conflict with Solaris 11.4 built-in functions (Rainer Orth)
Related records (4)
- Same changePostgreSQL 10.4 · Rename internal b64_encode and b64_decode functions to avoid conflict with Solaris 11.4 built-in functions
- Same changePostgreSQL 9.6.9 · Rename internal b64_encode and b64_decode functions to avoid conflict with Solaris 11.4 built-in functions
- Same changePostgreSQL 9.5.13 · Rename internal b64_encode and b64_decode functions to avoid conflict with Solaris 11.4 built-in functions
- Same changePostgreSQL 9.4.18 · Rename internal b64_encode and b64_decode functions to avoid conflict with Solaris 11.4 built-in functions
ImprovementsSync our copy of the timezone library with IANA tzcode release 2018e
Changes
Sync our copy of the timezone library with IANA tzcode release 2018e (Tom Lane)
This fixes the zic timezone data compiler to cope with negative daylight-savings offsets. While the PostgreSQL project will not immediately ship such timezone data, zic might be used with timezone data obtained directly from IANA, so it seems prudent to update zic now.
Related records (4)
- Same changePostgreSQL 10.4 · Sync our copy of the timezone library with IANA tzcode release 2018e
- Same changePostgreSQL 9.6.9 · Sync our copy of the timezone library with IANA tzcode release 2018e
- Same changePostgreSQL 9.5.13 · Sync our copy of the timezone library with IANA tzcode release 2018e
- Same changePostgreSQL 9.4.18 · Sync our copy of the timezone library with IANA tzcode release 2018e
ImprovementsUpdate time zone data files to tzdata release 2018d for DST law changes in Palestine and Antarctica (Casey Station), plus historical corrections for Portugal and its colonies, as well as Enderbury, Jamaica, Turks & Caicos Islands, and Uruguay.
Changes
Update time zone data files to tzdata release 2018d for DST law changes in Palestine and Antarctica (Casey Station), plus historical corrections for Portugal and its colonies, as well as Enderbury, Jamaica, Turks & Caicos Islands, and Uruguay.
Related records (4)
- Same changePostgreSQL 10.4 · Update time zone data files to tzdata release 2018d for DST law changes in Palestine and Antarctica (Casey Station), plus historical corrections for Portugal and its colonies, as well as Enderbury, Jamaica, Turks & Caicos Islands, and Uruguay.
- Same changePostgreSQL 9.6.9 · Update time zone data files to tzdata release 2018d for DST law changes in Palestine and Antarctica (Casey Station), plus historical corrections for Portugal and its colonies, as well as Enderbury, Jamaica, Turks & Caicos Islands, and Uruguay.
- Same changePostgreSQL 9.5.13 · Update time zone data files to tzdata release 2018d for DST law changes in Palestine and Antarctica (Casey Station), plus historical corrections for Portugal and its colonies, as well as Enderbury, Jamaica, Turks & Caicos Islands, and Uruguay.
- Same changePostgreSQL 9.4.18 · Update time zone data files to tzdata release 2018d for DST law changes in Palestine and Antarctica (Casey Station), plus historical corrections for Portugal and its colonies, as well as Enderbury, Jamaica, Turks & Caicos Islands, and Uruguay.
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.