DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 10.12 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
10.12
2020-02-13
10.12stableSupport ends 2022-11-10
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2020-1720 Add missing permissions checks for ALTER ... DEPENDS ON EXTENSION | 10.12 | Recorded fix |
PostgreSQL 10.12
Migration and compatibility
A dump/restore is not required for those running 10.X.
However, if you are upgrading from a version earlier than 10.11, see Section E.13.
SecurityAdd missing permissions checks for ALTER ... DEPENDS ON EXTENSION
Changes
Add missing permissions checks for ALTER ... DEPENDS ON EXTENSION (Álvaro Herrera)
Marking an object as dependent on an extension did not have any privilege check whatsoever. This oversight allowed any user to mark routines, triggers, materialized views, or indexes as droppable by anyone able to drop an extension. Require that the calling user own the specified object (and hence have privilege to drop it). (CVE-2020-1720)
Related records (3)
Bug fixesFix logical replication subscriber code to execute per-column UPDATE triggers when appropriate
Changes
Fix logical replication subscriber code to execute per-column UPDATE triggers when appropriate (Peter Eisentraut)
ImprovementsAvoid failure in logical decoding when a large transaction must be spilled into many separate temporary files
Changes
Avoid failure in logical decoding when a large transaction must be spilled into many separate temporary files (Amit Khandekar)
Related records (5)
- Same changePostgreSQL 12.2 · Avoid failure in logical decoding when a large transaction must be spilled into many separate temporary files
- Same changePostgreSQL 11.7 · Avoid failure in logical decoding when a large transaction must be spilled into many separate temporary files
- Same changePostgreSQL 9.6.17 · Avoid failure in logical decoding when a large transaction must be spilled into many separate temporary files
- Same changePostgreSQL 9.5.21 · Avoid failure in logical decoding when a large transaction must be spilled into many separate temporary files
- Same changePostgreSQL 9.4.26 · Avoid failure in logical decoding when a large transaction must be spilled into many separate temporary files
Bug fixesFix possible crash or data corruption when a logical replication subscriber processes a row update
Changes
Fix possible crash or data corruption when a logical replication subscriber processes a row update (Tom Lane, Tomas Vondra)
This bug caused visible problems only if the subscriber's table contained columns that were not being copied from the publisher and had pass-by-reference data types.
Bug fixesFix crash in logical replication subscriber after DDL changes on a subscribed relation
Changes
Fix crash in logical replication subscriber after DDL changes on a subscribed relation (Jehan-Guillaume de Rorthais, Vignesh C)
Bug fixesFix failure in logical replication publisher after a database crash and restart
Changes
Fix failure in logical replication publisher after a database crash and restart (Vignesh C)
Related records (5)
- Same changePostgreSQL 12.2 · Fix failure in logical replication publisher after a database crash and restart
- Same changePostgreSQL 11.7 · Fix failure in logical replication publisher after a database crash and restart
- Same changePostgreSQL 9.6.17 · Fix failure in logical replication publisher after a database crash and restart
- Same changePostgreSQL 9.5.21 · Fix failure in logical replication publisher after a database crash and restart
- Same changePostgreSQL 9.4.26 · Fix failure in logical replication publisher after a database crash and restart
ImprovementsImprove efficiency of logical replication with REPLICA IDENTITY FULL
Changes
Improve efficiency of logical replication with REPLICA IDENTITY FULL (Konstantin Knizhnik)
When searching for an existing tuple during an update or delete operation, return the first matching tuple not the last one.
ImprovementsPrevent premature shutdown of a Gather or GatherMerge plan node that is underneath a Limit node
Changes
Prevent premature shutdown of a Gather or GatherMerge plan node that is underneath a Limit node (Amit Kapila)
This avoids failure if such a plan node needs to be scanned more than once, as for instance if it is on the inside of a nestloop.
Related records (3)
- Same changePostgreSQL 12.2 · Prevent premature shutdown of a Gather or GatherMerge plan node that is underneath a Limit node
- Same changePostgreSQL 11.7 · Prevent premature shutdown of a Gather or GatherMerge plan node that is underneath a Limit node
- Same changePostgreSQL 9.6.17 · Prevent premature shutdown of a Gather or GatherMerge plan node that is underneath a Limit node
Bug fixesAvoid memory leak when there are no free dynamic shared memory slots
Changes
Avoid memory leak when there are no free dynamic shared memory slots (Thomas Munro)
Related records (5)
- Same changePostgreSQL 12.2 · Avoid memory leak when there are no free dynamic shared memory slots
- Same changePostgreSQL 11.7 · Avoid memory leak when there are no free dynamic shared memory slots
- Same changePostgreSQL 9.6.17 · Avoid memory leak when there are no free dynamic shared memory slots
- Same changePostgreSQL 9.5.21 · Avoid memory leak when there are no free dynamic shared memory slots
- Same changePostgreSQL 9.4.26 · Avoid memory leak when there are no free dynamic shared memory slots
ImprovementsIgnore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table
Changes
Ignore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table (Michael Paquier, Heikki Linnakangas, Andres Freund)
This avoids strange failures if the temporary table has an ON COMMIT action. There is no benefit in using CONCURRENTLY for a temporary table anyway, since other sessions cannot access the table, making the extra processing pointless.
Related records (5)
- Same changePostgreSQL 12.2 · Ignore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table
- Same changePostgreSQL 11.7 · Ignore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table
- Same changePostgreSQL 9.6.17 · Ignore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table
- Same changePostgreSQL 9.5.21 · Ignore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table
- Same changePostgreSQL 9.4.26 · Ignore the CONCURRENTLY option when performing an index creation, drop, or rebuild on a temporary table
Bug fixesFix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS
Changes
Fix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS (Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · Fix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS
- Same changePostgreSQL 11.7 · Fix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS
- Same changePostgreSQL 9.6.17 · Fix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS
- Same changePostgreSQL 9.5.21 · Fix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS
- Same changePostgreSQL 9.4.26 · Fix possible failure when resetting expression indexes on temporary tables that are marked ON COMMIT DELETE ROWS
Bug fixesFix possible crash in BRIN index operations with box, range and inet data types
Changes
Fix possible crash in BRIN index operations with box, range and inet data types (Heikki Linnakangas)
Related records (4)
- Same changePostgreSQL 12.2 · Fix possible crash in BRIN index operations with box, range and inet data types
- Same changePostgreSQL 11.7 · Fix possible crash in BRIN index operations with box, range and inet data types
- Same changePostgreSQL 9.6.17 · Fix possible crash in BRIN index operations with box, range and inet data types
- Same changePostgreSQL 9.5.21 · Fix possible crash in BRIN index operations with box, range and inet data types
Bug fixesFix handling of deleted pages in GIN indexes
Changes
Fix handling of deleted pages in GIN indexes (Alexander Korotkov)
Avoid possible deadlocks, incorrect updates of a deleted page's state, and failure to traverse through a recently-deleted page.
Related records (5)
- Same changePostgreSQL 12.2 · Fix handling of deleted pages in GIN indexes
- Same changePostgreSQL 11.7 · Fix handling of deleted pages in GIN indexes
- Same changePostgreSQL 9.6.17 · Fix handling of deleted pages in GIN indexes
- Same changePostgreSQL 9.5.21 · Fix handling of deleted pages in GIN indexes
- Same changePostgreSQL 9.4.26 · Fix handling of deleted pages in GIN indexes
Bug fixesFix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list
Changes
Fix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list (Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · Fix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list
- Same changePostgreSQL 11.7 · Fix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list
- Same changePostgreSQL 9.6.17 · Fix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list
- Same changePostgreSQL 9.5.21 · Fix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list
- Same changePostgreSQL 9.4.26 · Fix possible crash with a SubPlan (sub-SELECT) within a multi-row VALUES list
Bug fixesFix crash after FileClose() failure
Changes
Fix crash after FileClose() failure (Noah Misch)
This issue could only be observed with data_sync_retry enabled, since otherwise FileClose() failure would be reported as a PANIC.
Related records (2)
Bug fixesFix unlikely crash with pass-by-reference aggregate transition states
Changes
Fix unlikely crash with pass-by-reference aggregate transition states (Andres Freund, Teodor Sigaev)
Related records (5)
- Same changePostgreSQL 12.2 · Fix unlikely crash with pass-by-reference aggregate transition states
- Same changePostgreSQL 11.7 · Fix unlikely crash with pass-by-reference aggregate transition states
- Same changePostgreSQL 9.6.17 · Fix unlikely crash with pass-by-reference aggregate transition states
- Same changePostgreSQL 9.5.21 · Fix unlikely crash with pass-by-reference aggregate transition states
- Same changePostgreSQL 9.4.26 · Fix unlikely crash with pass-by-reference aggregate transition states
ImprovementsImprove error reporting in to_date() and to_timestamp()
Changes
Improve error reporting in to_date() and to_timestamp() (Tom Lane, Álvaro Herrera)
Reports about incorrect month or day names in input strings could truncate the input in the middle of a multi-byte character, leading to an improperly encoded error message that could cause follow-on failures. Truncate at the next whitespace instead.
Related records (5)
- Same changePostgreSQL 12.2 · Improve error reporting in to_date() and to_timestamp()
- Same changePostgreSQL 11.7 · Improve error reporting in to_date() and to_timestamp()
- Same changePostgreSQL 9.6.17 · Improve error reporting in to_date() and to_timestamp()
- Same changePostgreSQL 9.5.21 · Improve error reporting in to_date() and to_timestamp()
- Same changePostgreSQL 9.4.26 · Improve error reporting in to_date() and to_timestamp()
Bug fixesFix off-by-one result for EXTRACT(ISOYEAR FROM timestamp) for BC dates
Changes
Fix off-by-one result for EXTRACT(ISOYEAR FROM for BC dates (Tom Lane)timestamp)
Related records (5)
- Same changePostgreSQL 12.2 · Fix off-by-one result for EXTRACT(ISOYEAR FROM timestamp) for BC dates
- Same changePostgreSQL 11.7 · Fix off-by-one result for EXTRACT(ISOYEAR FROM timestamp) for BC dates
- Same changePostgreSQL 9.6.17 · Fix off-by-one result for EXTRACT(ISOYEAR FROM timestamp) for BC dates
- Same changePostgreSQL 9.5.21 · Fix off-by-one result for EXTRACT(ISOYEAR FROM timestamp) for BC dates
- Same changePostgreSQL 9.4.26 · Fix off-by-one result for EXTRACT(ISOYEAR FROM timestamp) for BC dates
Bug fixesAvoid stack overflow in information_schema views when a self-referential view exists in the system catalogs
Changes
Avoid stack overflow in information_schema views when a self-referential view exists in the system catalogs (Tom Lane)
A self-referential view can't work; it will always result in infinite recursion. We handled that situation correctly when trying to execute the view, but not when inquiring whether it is automatically updatable.
Related records (5)
- Same changePostgreSQL 12.2 · Avoid stack overflow in information_schema views when a self-referential view exists in the system catalogs
- Same changePostgreSQL 11.7 · Avoid stack overflow in information_schema views when a self-referential view exists in the system catalogs
- Same changePostgreSQL 9.6.17 · Avoid stack overflow in information_schema views when a self-referential view exists in the system catalogs
- Same changePostgreSQL 9.5.21 · Avoid stack overflow in information_schema views when a self-referential view exists in the system catalogs
- Same changePostgreSQL 9.4.26 · Avoid stack overflow in information_schema views when a self-referential view exists in the system catalogs
ImprovementsEnsure that walsender processes always show NULL for transaction start time in pg_stat_activity
Changes
Ensure that walsender processes always show NULL for transaction start time in pg_stat_activity (Álvaro Herrera)
Previously, the xact_start column would sometimes show the process start time.
PerformanceImprove performance of hash joins with very large inner relations
Changes
Improve performance of hash joins with very large inner relations (Thomas Munro)
Related records (5)
- Same changePostgreSQL 12.2 · Improve performance of hash joins with very large inner relations
- Same changePostgreSQL 11.7 · Improve performance of hash joins with very large inner relations
- Same changePostgreSQL 9.6.17 · Improve performance of hash joins with very large inner relations
- Same changePostgreSQL 9.5.21 · Improve performance of hash joins with very large inner relations
- Same changePostgreSQL 9.4.26 · Improve performance of hash joins with very large inner relations
Bug fixesFix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators
Changes
Fix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators (Michael Paquier, Andrey Borodin, Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · Fix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators
- Same changePostgreSQL 11.7 · Fix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators
- Same changePostgreSQL 9.6.17 · Fix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators
- Same changePostgreSQL 9.5.21 · Fix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators
- Same changePostgreSQL 9.4.26 · Fix edge-case crashes and misestimations in selectivity calculations for the <@ and @> range operators
ImprovementsIgnore system columns when applying most-common-value extended statistics
Changes
Ignore system columns when applying most-common-value extended statistics (Tomas Vondra)
This prevents “negative bitmapset member not allowed” planner errors for affected queries.
Bug fixesFix BRIN index logic to support hypothetical BRIN indexes
Changes
Fix BRIN index logic to support hypothetical BRIN indexes (Julien Rouhaud, Heikki Linnakangas)
Previously, if an “index adviser” extension tried to get the planner to produce a plan involving a hypothetical BRIN index, that would fail, because the BRIN cost estimation code would always try to physically access the index's metapage. Now it checks to see if the index is only hypothetical, and uses default assumptions about the index parameters if so.
Related records (2)
ImprovementsImprove error reporting for attempts to use automatic updating of views with conditional INSTEAD rules
Changes
Improve error reporting for attempts to use automatic updating of views with conditional INSTEAD rules (Dean Rasheed)
This has never been supported, but previously the error was thrown only at execution time, so that it could be masked by planner errors.
Related records (5)
- Same changePostgreSQL 12.2 · Improve error reporting for attempts to use automatic updating of views with conditional INSTEAD rules
- Same changePostgreSQL 11.7 · Improve error reporting for attempts to use automatic updating of views with conditional INSTEAD rules
- Same changePostgreSQL 9.6.17 · Improve error reporting for attempts to use automatic updating of views with conditional INSTEAD rules
- Same changePostgreSQL 9.5.21 · Improve error reporting for attempts to use automatic updating of views with conditional INSTEAD rules
- Same changePostgreSQL 9.4.26 · Improve error reporting for attempts to use automatic updating of views with conditional INSTEAD rules
ImprovementsPrevent a composite type from being included in itself indirectly via a range type
Changes
Prevent a composite type from being included in itself indirectly via a range type (Tom Lane, Julien Rouhaud)
Related records (5)
- Same changePostgreSQL 12.2 · Prevent a composite type from being included in itself indirectly via a range type
- Same changePostgreSQL 11.7 · Prevent a composite type from being included in itself indirectly via a range type
- Same changePostgreSQL 9.6.17 · Prevent a composite type from being included in itself indirectly via a range type
- Same changePostgreSQL 9.5.21 · Prevent a composite type from being included in itself indirectly via a range type
- Same changePostgreSQL 9.4.26 · Prevent a composite type from being included in itself indirectly via a range type
ImprovementsDisallow partition key expressions that return pseudo-types, such as record
Changes
Disallow partition key expressions that return pseudo-types, such as record (Tom Lane)
Bug fixesFix error reporting for index expressions of prohibited types
Changes
Fix error reporting for index expressions of prohibited types (Amit Langote)
Related records (5)
- Same changePostgreSQL 12.2 · Fix error reporting for index expressions of prohibited types
- Same changePostgreSQL 11.7 · Fix error reporting for index expressions of prohibited types
- Same changePostgreSQL 9.6.17 · Fix error reporting for index expressions of prohibited types
- Same changePostgreSQL 9.5.21 · Fix error reporting for index expressions of prohibited types
- Same changePostgreSQL 9.4.26 · Fix error reporting for index expressions of prohibited types
Bug fixesFix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed
Changes
Fix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed (Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · Fix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed
- Same changePostgreSQL 11.7 · Fix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed
- Same changePostgreSQL 9.6.17 · Fix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed
- Same changePostgreSQL 9.5.21 · Fix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed
- Same changePostgreSQL 9.4.26 · Fix dumping of views that contain only a VALUES list to handle cases where a view output column has been renamed
ImprovementsEnsure that data types and collations used in XMLTABLE constructs are accounted for when computing dependencies of a view or rule
Changes
Ensure that data types and collations used in XMLTABLE constructs are accounted for when computing dependencies of a view or rule (Tom Lane)
Previously it was possible to break a view using XMLTABLE by dropping a type, if the type was not otherwise referenced in the view. This fix does not correct the dependencies already recorded for existing views, only for newly-created ones.
Related records (2)
- Same changePostgreSQL 12.2 · Ensure that data types and collations used in XMLTABLE constructs are accounted for when computing dependencies of a view or rule
- Same changePostgreSQL 11.7 · Ensure that data types and collations used in XMLTABLE constructs are accounted for when computing dependencies of a view or rule
ImprovementsPrevent unwanted downcasing and truncation of RADIUS authentication parameters
Changes
Prevent unwanted downcasing and truncation of RADIUS authentication parameters (Marcos David)
The pg_hba.conf parser mistakenly treated these fields as SQL identifiers, which in general they aren't.
ImprovementsTransmit incoming NOTIFY messages to the client before sending ReadyForQuery, rather than after
Changes
Transmit incoming NOTIFY messages to the client before sending ReadyForQuery, rather than after (Tom Lane)
This change ensures that, with libpq and other client libraries that act similarly to it, any notifications received during a transaction will be available by the time the client thinks the transaction is complete. This probably makes no difference in practical applications (which would need to cope with asynchronous notifications in any case); but it makes it easier to build test cases with reproducible behavior.
Related records (3)
- Same changePostgreSQL 12.2 · Transmit incoming NOTIFY messages to the client before sending ReadyForQuery, rather than after
- Same changePostgreSQL 11.7 · Transmit incoming NOTIFY messages to the client before sending ReadyForQuery, rather than after
- Same changePostgreSQL 9.6.17 · Transmit incoming NOTIFY messages to the client before sending ReadyForQuery, rather than after
ImprovementsAllow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in
Changes
Allow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in (Tom Lane)
This makes the behavior similar to our SSL support, where it was long ago deemed to be a good idea to always accept all the related parameters, even if some are ignored or restricted due to lack of the feature in a particular build.
Related records (5)
- Same changePostgreSQL 12.2 · Allow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in
- Same changePostgreSQL 11.7 · Allow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in
- Same changePostgreSQL 9.6.17 · Allow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in
- Same changePostgreSQL 9.5.21 · Allow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in
- Same changePostgreSQL 9.4.26 · Allow libpq to parse all GSS-related connection parameters even when the GSSAPI code hasn't been compiled in
Bug fixesFix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function
Changes
Fix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function (Tomas Vondra)
Due to an off-by-one error, these codes would print the wrong month name, or possibly crash.
Related records (5)
- Same changePostgreSQL 12.2 · Fix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function
- Same changePostgreSQL 11.7 · Fix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function
- Same changePostgreSQL 9.6.17 · Fix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function
- Same changePostgreSQL 9.5.21 · Fix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function
- Same changePostgreSQL 9.4.26 · Fix incorrect handling of %b and %B format codes in ecpg's PGTYPEStimestamp_fmt_asc() function
Bug fixesFix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes
Changes
Fix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes (Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · Fix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes
- Same changePostgreSQL 11.7 · Fix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes
- Same changePostgreSQL 9.6.17 · Fix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes
- Same changePostgreSQL 9.5.21 · Fix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes
- Same changePostgreSQL 9.4.26 · Fix parallel pg_dump/pg_restore to more gracefully handle failure to create worker processes
Bug fixesPrevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal
Changes
Prevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal (Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · Prevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal
- Same changePostgreSQL 11.7 · Prevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal
- Same changePostgreSQL 9.6.17 · Prevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal
- Same changePostgreSQL 9.5.21 · Prevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal
- Same changePostgreSQL 9.4.26 · Prevent possible crash or lockup when attempting to terminate a parallel pg_dump/pg_restore run via a signal
ImprovementsIn pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables
Changes
In pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables (Tom Lane)
Related records (5)
- Same changePostgreSQL 12.2 · In pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables
- Same changePostgreSQL 11.7 · In pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables
- Same changePostgreSQL 9.6.17 · In pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables
- Same changePostgreSQL 9.5.21 · In pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables
- Same changePostgreSQL 9.4.26 · In pg_upgrade, look inside arrays and ranges while searching for non-upgradable data types in tables
ImprovementsApply more thorough syntax checking to createuser's --connection-limit option
Changes
Apply more thorough syntax checking to createuser's --connection-limit option (Álvaro Herrera)
Related records (5)
- Same changePostgreSQL 12.2 · Apply more thorough syntax checking to createuser's --connection-limit option
- Same changePostgreSQL 11.7 · Apply more thorough syntax checking to createuser's --connection-limit option
- Same changePostgreSQL 9.6.17 · Apply more thorough syntax checking to createuser's --connection-limit option
- Same changePostgreSQL 9.5.21 · Apply more thorough syntax checking to createuser's --connection-limit option
- Same changePostgreSQL 9.4.26 · Apply more thorough syntax checking to createuser's --connection-limit option
Bug fixesAvoid crash in postgres_fdw when trying to send a command like UPDATE remote_tab SET (x,y) = (SELECT ...) to the remote server
Changes
Avoid crash in postgres_fdw when trying to send a command like UPDATE remote_tab SET (x,y) = (SELECT ...) to the remote server (Tom Lane)
Related records (3)
- Same changePostgreSQL 12.2 · Avoid crash in postgres_fdw when trying to send a command like UPDATE remote_tab SET (x,y) = (SELECT ...) to the remote server
- Same changePostgreSQL 11.7 · Avoid crash in postgres_fdw when trying to send a command like UPDATE remote_tab SET (x,y) = (SELECT ...) to the remote server
- Same changePostgreSQL 9.6.17 · Avoid crash in postgres_fdw when trying to send a command like UPDATE remote_tab SET (x,y) = (SELECT ...) to the remote server
ImprovementsIn contrib/dict_int, reject maxlen settings less than one
Changes
In contrib/dict_int, reject maxlen settings less than one (Tomas Vondra)
This prevents a possible crash with silly settings for that parameter.
Related records (5)
- Same changePostgreSQL 12.2 · In contrib/dict_int, reject maxlen settings less than one
- Same changePostgreSQL 11.7 · In contrib/dict_int, reject maxlen settings less than one
- Same changePostgreSQL 9.6.17 · In contrib/dict_int, reject maxlen settings less than one
- Same changePostgreSQL 9.5.21 · In contrib/dict_int, reject maxlen settings less than one
- Same changePostgreSQL 9.4.26 · In contrib/dict_int, reject maxlen settings less than one
ImprovementsDisallow NULL category values in contrib/tablefunc's crosstab() function
Changes
Disallow NULL category values in contrib/tablefunc's crosstab() function (Joe Conway)
This case never worked usefully, and it would crash on some platforms.
Related records (5)
- Same changePostgreSQL 12.2 · Disallow NULL category values in contrib/tablefunc's crosstab() function
- Same changePostgreSQL 11.7 · Disallow NULL category values in contrib/tablefunc's crosstab() function
- Same changePostgreSQL 9.6.17 · Disallow NULL category values in contrib/tablefunc's crosstab() function
- Same changePostgreSQL 9.5.21 · Disallow NULL category values in contrib/tablefunc's crosstab() function
- Same changePostgreSQL 9.4.26 · Disallow NULL category values in contrib/tablefunc's crosstab() function
ImprovementsMark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows
Changes
Mark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows (Pascal Legrand)
This applies to idle_in_transaction_session_timeout, lock_timeout, statement_timeout, track_activities, track_counts, and track_functions.
Related records (5)
- Same changePostgreSQL 12.2 · Mark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows
- Same changePostgreSQL 11.7 · Mark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows
- Same changePostgreSQL 9.6.17 · Mark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows
- Same changePostgreSQL 9.5.21 · Mark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows
- Same changePostgreSQL 9.4.26 · Mark some timeout and statistics-tracking GUC variables as PGDLLIMPORT, to allow extensions to access them on Windows
Bug fixesAvoid memory leak in sanity checks for “slab” memory contexts
Changes
Avoid memory leak in sanity checks for “slab” memory contexts (Tomas Vondra)
This isn't an issue for production builds, since they wouldn't ordinarily have memory context checking enabled; but the leak could be quite severe in a debug build.
Related records (2)
Bug fixesFix multiple statistics entries reported by the LWLock statistics mechanism
Changes
Fix multiple statistics entries reported by the LWLock statistics mechanism (Fujii Masao)
The LWLock statistics code (which is not built by default; it requires compiling with -DLWLOCK_STATS) could report multiple entries for the same LWLock and backend process, as a result of faulty hashtable key creation.
Bug fixesFix race condition that led to delayed delivery of interprocess signals on Windows
Changes
Fix race condition that led to delayed delivery of interprocess signals on Windows (Amit Kapila)
This caused visible timing oddities in NOTIFY, and perhaps other misbehavior.
Related records (5)
- Same changePostgreSQL 12.2 · Fix race condition that led to delayed delivery of interprocess signals on Windows
- Same changePostgreSQL 11.7 · Fix race condition that led to delayed delivery of interprocess signals on Windows
- Same changePostgreSQL 9.6.17 · Fix race condition that led to delayed delivery of interprocess signals on Windows
- Same changePostgreSQL 9.5.21 · Fix race condition that led to delayed delivery of interprocess signals on Windows
- Same changePostgreSQL 9.4.26 · Fix race condition that led to delayed delivery of interprocess signals on Windows
ImprovementsOn Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure
Changes
On Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure (Alexander Lakhin, Tom Lane)
This helps cope with cases where a file open attempt fails because the targeted file is flagged for deletion but not yet actually gone. pg_ctl, for example, frequently failed with such an error when probing to see if the postmaster had shut down yet.
Related records (5)
- Same changePostgreSQL 12.2 · On Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure
- Same changePostgreSQL 11.7 · On Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure
- Same changePostgreSQL 9.6.17 · On Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure
- Same changePostgreSQL 9.5.21 · On Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure
- Same changePostgreSQL 9.4.26 · On Windows, retry a few times after an ERROR_ACCESS_DENIED file access failure
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.