DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 14.2 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
14.2
2022-02-10
14.2stableSupport ends 2026-11-12
PostgreSQL 14.2
Migration and compatibility
A dump/restore is not required for those running 14.X.
However, some bugs have been found that may have resulted in corrupted indexes, as explained in the first two changelog entries. If any of those cases apply to you, it's recommended to reindex possibly-affected indexes after updating.
Also, if you are upgrading from a version earlier than 14.1, see Section E.24.
ImprovementsEnforce standard locking protocol for TOAST table updates, to prevent problems with REINDEX CONCURRENTLY
Changes
Enforce standard locking protocol for TOAST table updates, to prevent problems with REINDEX CONCURRENTLY (Michael Paquier) §
If applied to a TOAST table or TOAST table's index, REINDEX CONCURRENTLY tended to produce a corrupted index. This happened because sessions updating TOAST entries released their ROW EXCLUSIVE locks immediately, rather than holding them until transaction commit as all other updates do. The fix is to make TOAST updates hold the table lock according to the normal rule. Any existing corrupted indexes can be repaired by reindexing again.
Bug fixesFix corruption of HOT chains when a RECENTLY_DEAD tuple changes state to fully DEAD during page pruning
Changes
Fix corruption of HOT chains when a RECENTLY_DEAD tuple changes state to fully DEAD during page pruning (Andres Freund) §
It was possible for VACUUM to remove a recently-dead tuple while leaving behind a redirect item that pointed to it. When the tuple's item slot is later re-used by some new tuple, that tuple would be seen as part of the pre-existing HOT chain, creating a form of index corruption. If this has happened, reindexing the table should repair the damage. However, this is an extremely low-probability scenario, so we do not recommend reindexing just on the chance that it might have happened.
Bug fixesFix crash in EvalPlanQual rechecks for tables with a mix of local and foreign partitions
Bug fixesFix dangling pointer in COPY TO
Changes
Fix dangling pointer in COPY TO (Bharath Rupireddy) §
This oversight could cause an incorrect error message or a crash after an error in COPY.
Bug fixesAvoid null-pointer crash in ALTER STATISTICS when the statistics object is dropped concurrently
Changes
Avoid null-pointer crash in ALTER STATISTICS when the statistics object is dropped concurrently (Tomas Vondra) §
Related records (1)
ImprovementsCorrectly handle alignment padding when extracting a range from a multirange
Changes
Correctly handle alignment padding when extracting a range from a multirange (Alexander Korotkov) §
This error could cause crashes when handling multiranges over variable-length data types.
Bug fixesFix over-optimistic use of hashing for anonymous RECORD data types
Changes
Fix over-optimistic use of hashing for anonymous RECORD data types (Tom Lane) §
This prevents some cases of “could not identify a hash function for type record” errors.
Bug fixesFix incorrect plan creation for parallel single-child Append nodes
Changes
Fix incorrect plan creation for parallel single-child Append nodes (David Rowley) §
In some cases the Append would be simplified away when it should not be, leading to wrong query results (duplicated rows).
Bug fixesFix index-only scan plans for cases where not all index columns can be returned
Changes
Fix index-only scan plans for cases where not all index columns can be returned (Tom Lane) § §
If an index has both returnable and non-returnable columns, and one of the non-returnable columns is an expression using a table column that appears in a returnable index column, then a query using that expression could result in an index-only scan plan that attempts to read the non-returnable column, instead of recomputing the expression from the returnable column as intended. The non-returnable column would read as NULL, resulting in wrong query results.
Related records (4)
- Same changePostgreSQL 13.6 · Fix index-only scan plans for cases where not all index columns can be returned
- Same changePostgreSQL 12.10 · Fix index-only scan plans for cases where not all index columns can be returned
- Same changePostgreSQL 11.15 · Fix index-only scan plans for cases where not all index columns can be returned
- Same changePostgreSQL 10.20 · Fix index-only scan plans for cases where not all index columns can be returned
Bug fixesFix Memoize plan nodes to handle subplans that use parameters coming from above the Memoize
Changes
Fix Memoize plan nodes to handle subplans that use parameters coming from above the Memoize (David Rowley) §
Bug fixesFix Memoize plan nodes to work correctly with non-hashable join operators
Changes
Fix Memoize plan nodes to work correctly with non-hashable join operators (David Rowley) §
ImprovementsEnsure that casting to an unspecified typmod generates a RelabelType node rather than a length-coercion function call
Changes
Ensure that casting to an unspecified typmod generates a RelabelType node rather than a length-coercion function call (Tom Lane) §
While the coercion function should do the right thing (nothing), this translation is undesirably inefficient.
Related records (4)
- Same changePostgreSQL 13.6 · Ensure that casting to an unspecified typmod generates a RelabelType node rather than a length-coercion function call
- Same changePostgreSQL 12.10 · Ensure that casting to an unspecified typmod generates a RelabelType node rather than a length-coercion function call
- Same changePostgreSQL 11.15 · Ensure that casting to an unspecified typmod generates a RelabelType node rather than a length-coercion function call
- Same changePostgreSQL 10.20 · Ensure that casting to an unspecified typmod generates a RelabelType node rather than a length-coercion function call
Bug fixesFix checking of anycompatible-family data type matches
Changes
Fix checking of anycompatible-family data type matches (Tom Lane) §
In some cases the parser would think that a function or operator with anycompatible-family polymorphic parameters matches a set of arguments that it really shouldn't match. In reported cases, that led to matching more than one operator to a call, leading to ambiguous-operator errors; but a failure later on is also possible.
Related records (1)
Bug fixesFix WAL replay failure when database consistency is reached exactly at a WAL page boundary
Changes
Fix WAL replay failure when database consistency is reached exactly at a WAL page boundary (Álvaro Herrera) §
Related records (4)
- Same changePostgreSQL 13.6 · Fix WAL replay failure when database consistency is reached exactly at a WAL page boundary
- Same changePostgreSQL 12.10 · Fix WAL replay failure when database consistency is reached exactly at a WAL page boundary
- Same changePostgreSQL 11.15 · Fix WAL replay failure when database consistency is reached exactly at a WAL page boundary
- Same changePostgreSQL 10.20 · Fix WAL replay failure when database consistency is reached exactly at a WAL page boundary
Bug fixesFix startup of a physical replica to tolerate transaction ID wraparound
Changes
Fix startup of a physical replica to tolerate transaction ID wraparound (Abhijit Menon-Sen, Tomas Vondra) §
If a replica server is started while the set of active transactions on the primary crosses a wraparound boundary (so that there are some newer transactions with smaller XIDs than older ones), the replica would fail with “out-of-order XID insertion in KnownAssignedXids”. The replica would retry, but could never get past that error.
Related records (4)
- Same changePostgreSQL 13.6 · Fix startup of a physical replica to tolerate transaction ID wraparound
- Same changePostgreSQL 12.10 · Fix startup of a physical replica to tolerate transaction ID wraparound
- Same changePostgreSQL 11.15 · Fix startup of a physical replica to tolerate transaction ID wraparound
- Same changePostgreSQL 10.20 · Fix startup of a physical replica to tolerate transaction ID wraparound
ImprovementsIn logical replication, avoid double transmission of a child table's data
Changes
In logical replication, avoid double transmission of a child table's data (Hou Zhijie) §
If a publication includes both child and parent tables, and has the publish_via_partition_root option set, subscribers uselessly initiated synchronization on both child and parent tables. Ensure that only the parent table is synchronized in such cases.
Related records (1)
ImprovementsRemove lexical limitations for SQL commands issued on a logical replication connection
Changes
Remove lexical limitations for SQL commands issued on a logical replication connection (Tom Lane) § §
The walsender process would fail for a SQL command containing an unquoted semicolon, or with dollar-quoted literals containing odd numbers of single or double quote marks, or when the SQL command starts with a comment. Moreover, faulty error recovery could lead to unexpected errors in later commands too.
Related records (4)
- Same changePostgreSQL 13.6 · Remove lexical limitations for SQL commands issued on a logical replication connection
- Same changePostgreSQL 12.10 · Remove lexical limitations for SQL commands issued on a logical replication connection
- Same changePostgreSQL 11.15 · Remove lexical limitations for SQL commands issued on a logical replication connection
- Same changePostgreSQL 10.20 · Remove lexical limitations for SQL commands issued on a logical replication connection
ImprovementsEnsure that replication origin timestamp is set while replicating a ROLLBACK PREPARED operation
Changes
Ensure that replication origin timestamp is set while replicating a ROLLBACK PREPARED operation (Masahiko Sawada) §
Bug fixesFix possible loss of the commit timestamp for the last subtransaction of a transaction
Changes
Fix possible loss of the commit timestamp for the last subtransaction of a transaction (Alex Kingsborough, Kyotaro Horiguchi) §
Related records (4)
- Same changePostgreSQL 13.6 · Fix possible loss of the commit timestamp for the last subtransaction of a transaction
- Same changePostgreSQL 12.10 · Fix possible loss of the commit timestamp for the last subtransaction of a transaction
- Same changePostgreSQL 11.15 · Fix possible loss of the commit timestamp for the last subtransaction of a transaction
- Same changePostgreSQL 10.20 · Fix possible loss of the commit timestamp for the last subtransaction of a transaction
ImprovementsBe sure to fsync the pg_logical/mappings subdirectory during checkpoints
Changes
Be sure to fsync the pg_logical/mappings subdirectory during checkpoints (Nathan Bossart) §
On some filesystems this oversight could lead to losing logical rewrite status files after a system crash.
Related records (4)
- Same changePostgreSQL 13.6 · Be sure to fsync the pg_logical/mappings subdirectory during checkpoints
- Same changePostgreSQL 12.10 · Be sure to fsync the pg_logical/mappings subdirectory during checkpoints
- Same changePostgreSQL 11.15 · Be sure to fsync the pg_logical/mappings subdirectory during checkpoints
- Same changePostgreSQL 10.20 · Be sure to fsync the pg_logical/mappings subdirectory during checkpoints
ImprovementsBuild extended statistics for partitioned tables
Changes
Build extended statistics for partitioned tables (Justin Pryzby) §
A previous bug fix disabled building of extended statistics for old-style inheritance trees, but it also prevented building them for partitioned tables, which was an unnecessary restriction. This change allows ANALYZE to compute values for statistics objects for partitioned tables. (But note that autovacuum does not process partitioned tables as such, so you must periodically issue manual ANALYZE on the partitioned table if you want to maintain such statistics.)
Related records (4)
- Same changePostgreSQL 13.6 · Build extended statistics for partitioned tables
- Same changePostgreSQL 12.10 · Build extended statistics for partitioned tables
- Same changePostgreSQL 11.15 · Build extended statistics for partitioned tables
- Same changePostgreSQL 10.20 · Build extended statistics for partitioned tables
ImprovementsIgnore extended statistics for inheritance trees
Changes
Ignore extended statistics for inheritance trees (Justin Pryzby) §
Currently, extended statistics values are only computed locally for each table, not for entire inheritance trees. However the values were mistakenly consulted when planning queries across inheritance trees, possibly resulting in worse-than-default estimates.
Related records (4)
- Same changePostgreSQL 13.6 · Ignore extended statistics for inheritance trees
- Same changePostgreSQL 12.10 · Ignore extended statistics for inheritance trees
- Same changePostgreSQL 11.15 · Ignore extended statistics for inheritance trees
- Same changePostgreSQL 10.20 · Ignore extended statistics for inheritance trees
ImprovementsDisallow altering data type of a partitioned table's columns when the partitioned table's row type is used as a composite type elsewhere
Changes
Disallow altering data type of a partitioned table's columns when the partitioned table's row type is used as a composite type elsewhere (Tom Lane) §
This restriction has long existed for regular tables, but through an oversight it was not checked for partitioned tables.
Related records (4)
- Same changePostgreSQL 13.6 · Disallow altering data type of a partitioned table's columns when the partitioned table's row type is used as a composite type elsewhere
- Same changePostgreSQL 12.10 · Disallow altering data type of a partitioned table's columns when the partitioned table's row type is used as a composite type elsewhere
- Same changePostgreSQL 11.15 · Disallow altering data type of a partitioned table's columns when the partitioned table's row type is used as a composite type elsewhere
- Same changePostgreSQL 10.20 · Disallow altering data type of a partitioned table's columns when the partitioned table's row type is used as a composite type elsewhere
ImprovementsDisallow ALTER TABLE ... DROP NOT NULL for a column that is part of a replica identity index
Changes
Disallow ALTER TABLE ... DROP NOT NULL for a column that is part of a replica identity index (Haiying Tang, Hou Zhijie) §
The same prohibition already existed for primary key indexes.
Related records (4)
- Same changePostgreSQL 13.6 · Disallow ALTER TABLE ... DROP NOT NULL for a column that is part of a replica identity index
- Same changePostgreSQL 12.10 · Disallow ALTER TABLE ... DROP NOT NULL for a column that is part of a replica identity index
- Same changePostgreSQL 11.15 · Disallow ALTER TABLE ... DROP NOT NULL for a column that is part of a replica identity index
- Same changePostgreSQL 10.20 · Disallow ALTER TABLE ... DROP NOT NULL for a column that is part of a replica identity index
ImprovementsCorrectly update cached table state during ALTER TABLE ADD PRIMARY KEY USING INDEX
Changes
Correctly update cached table state during ALTER TABLE ADD PRIMARY KEY USING INDEX (Hou Zhijie) §
Concurrent sessions failed to update their opinion of whether the table has a primary key, possibly causing incorrect logical replication behavior.
Related records (3)
- Same changePostgreSQL 13.6 · Correctly update cached table state during ALTER TABLE ADD PRIMARY KEY USING INDEX
- Same changePostgreSQL 12.10 · Correctly update cached table state during ALTER TABLE ADD PRIMARY KEY USING INDEX
- Same changePostgreSQL 11.15 · Correctly update cached table state during ALTER TABLE ADD PRIMARY KEY USING INDEX
ImprovementsCorrectly update cached table state when switching REPLICA IDENTITY index
Changes
Correctly update cached table state when switching REPLICA IDENTITY index (Tang Haiying, Hou Zhijie) §
Concurrent sessions failed to update their opinion of which index is the replica identity one, possibly causing incorrect logical replication behavior.
Related records (4)
- Same changePostgreSQL 13.6 · Correctly update cached table state when switching REPLICA IDENTITY index
- Same changePostgreSQL 12.10 · Correctly update cached table state when switching REPLICA IDENTITY index
- Same changePostgreSQL 11.15 · Correctly update cached table state when switching REPLICA IDENTITY index
- Same changePostgreSQL 10.20 · Correctly update cached table state when switching REPLICA IDENTITY index
Bug fixesFix failure of SP-GiST indexes when the indexed column's data type is binary-compatible with the declared input type of the operator class
Changes
Fix failure of SP-GiST indexes when the indexed column's data type is binary-compatible with the declared input type of the operator class (Tom Lane) §
Such cases should work, but failed with “compress method must be defined when leaf type is different from input type”.
ImprovementsAllow parallel vacuuming and concurrent index building to be ignored while computing oldest xmin
Changes
Allow parallel vacuuming and concurrent index building to be ignored while computing oldest xmin (Masahiko Sawada) §
Non-parallelized instances of these operations were already ignored, but the logic did not work for parallelized cases. Holding back the xmin horizon has undesirable effects such as delaying vacuum cleanup.
Related records (1)
Bug fixesFix memory leak when updating expression indexes
Changes
Fix memory leak when updating expression indexes (Peter Geoghegan) §
An UPDATE affecting many rows could consume significant amounts of memory.
Bug fixesAvoid leaking memory during REASSIGN OWNED BY operations that reassign ownership of many objects
Changes
Avoid leaking memory during REASSIGN OWNED BY operations that reassign ownership of many objects (Justin Pryzby) §
Related records (4)
- Same changePostgreSQL 13.6 · Avoid leaking memory during REASSIGN OWNED BY operations that reassign ownership of many objects
- Same changePostgreSQL 12.10 · Avoid leaking memory during REASSIGN OWNED BY operations that reassign ownership of many objects
- Same changePostgreSQL 11.15 · Avoid leaking memory during REASSIGN OWNED BY operations that reassign ownership of many objects
- Same changePostgreSQL 10.20 · Avoid leaking memory during REASSIGN OWNED BY operations that reassign ownership of many objects
PerformanceImprove performance of walsenders sending logical changes by avoiding unnecessary cache accesses
Changes
Improve performance of walsenders sending logical changes by avoiding unnecessary cache accesses (Hou Zhijie) §
Related records (1)
Bug fixesFix display of cert authentication method's options in pg_hba_file_rules view
Changes
Fix display of cert authentication method's options in pg_hba_file_rules view (Magnus Hagander) §
The cert authentication method implies clientcert=verify-full, but the pg_hba_file_rules view incorrectly reported clientcert=verify-ca.
ImprovementsEnsure that the session targeted by pg_log_backend_memory_contexts() sends its results only to the server's log
Changes
Ensure that the session targeted by pg_log_backend_memory_contexts() sends its results only to the server's log (Fujii Masao) §
Previously, a sufficiently high setting of client_min_messages could result in the log message also being sent to the connected client. Since that client hadn't requested it, that would be surprising (and possibly a wire protocol violation).
Bug fixesFix display of whole-row variables appearing in INSERT ... VALUES rules
Changes
Fix display of whole-row variables appearing in INSERT ... VALUES rules (Tom Lane) §
A whole-row variable would be printed as “var.*”, but that allows it to be expanded to individual columns when the rule is reloaded, resulting in different semantics. Attach an explicit cast to prevent that, as we do elsewhere.
Related records (4)
- Same changePostgreSQL 13.6 · Fix display of whole-row variables appearing in INSERT ... VALUES rules
- Same changePostgreSQL 12.10 · Fix display of whole-row variables appearing in INSERT ... VALUES rules
- Same changePostgreSQL 11.15 · Fix display of whole-row variables appearing in INSERT ... VALUES rules
- Same changePostgreSQL 10.20 · Fix display of whole-row variables appearing in INSERT ... VALUES rules
ImprovementsWhen reverse-listing a SQL-standard function body, display function parameters appropriately within INSERT ... SELECT
Changes
When reverse-listing a SQL-standard function body, display function parameters appropriately within INSERT ... SELECT (Tom Lane) §
Previously, they'd come out as $ even when the parameter had a name.N
Bug fixesFix one-byte buffer overrun when applying Unicode string normalization to an empty string
Changes
Fix one-byte buffer overrun when applying Unicode string normalization to an empty string (Michael Paquier) §
The practical impact of this is limited thanks to alignment considerations; but in debug builds, a warning was raised.
Related records (1)
Bug fixesFix or remove some incorrect assertions
Bug fixesFix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib
Changes
Fix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib (Tom Lane) §
Related records (4)
- Same changePostgreSQL 13.6 · Fix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib
- Same changePostgreSQL 12.10 · Fix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib
- Same changePostgreSQL 11.15 · Fix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib
- Same changePostgreSQL 10.20 · Fix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib
ImprovementsAvoid calling strerror from libpq's PQcancel function
Changes
Avoid calling strerror from libpq's PQcancel function (Tom Lane) §
PQcancel is supposed to be safe to call from a signal handler, but strerror is not safe. The faulty usage only occurred in the unlikely event of failure to send the cancel message to the server, perhaps explaining the lack of reports.
Related records (4)
- Same changePostgreSQL 13.6 · Avoid calling strerror from libpq's PQcancel function
- Same changePostgreSQL 12.10 · Avoid calling strerror from libpq's PQcancel function
- Same changePostgreSQL 11.15 · Avoid calling strerror from libpq's PQcancel function
- Same changePostgreSQL 10.20 · Avoid calling strerror from libpq's PQcancel function
ImprovementsMake psql's \password command default to setting the password for CURRENT_USER, not the connection's original user name
Changes
Make psql's \password command default to setting the password for CURRENT_USER, not the connection's original user name (Tom Lane) §
This agrees with the documented behavior, and avoids probable permissions failure if SET ROLE or SET SESSION AUTHORIZATION has been done since the session began. To prevent confusion, the role name to be acted on is now included in the password prompt.
Related records (4)
- Same changePostgreSQL 13.6 · Make psql's \password command default to setting the password for CURRENT_USER, not the connection's original user name
- Same changePostgreSQL 12.10 · Make psql's \password command default to setting the password for CURRENT_USER, not the connection's original user name
- Same changePostgreSQL 11.15 · Make psql's \password command default to setting the password for CURRENT_USER, not the connection's original user name
- Same changePostgreSQL 10.20 · Make psql's \password command default to setting the password for CURRENT_USER, not the connection's original user name
Bug fixesFix psql \d command's query for identifying parent triggers
Changes
Fix psql \d command's query for identifying parent triggers (Justin Pryzby) §
The previous coding failed with “more than one row returned by a subquery used as an expression” if a partition had triggers and there were unrelated statement-level triggers of the same name on some parent partitioned table.
Related records (1)
ImprovementsMake psql's \d command sort a table's extended statistics objects by name not OID
Changes
Make psql's \d command sort a table's extended statistics objects by name not OID (Justin Pryzby) §
Bug fixesFix psql's tab-completion of label values for enum types
Bug fixesFix failures on Windows when using the terminal as data source or destination
ImprovementsIn psql and some other client programs, avoid trying to invoke gettext() from a control-C signal handler
Changes
In psql and some other client programs, avoid trying to invoke gettext() from a control-C signal handler (Tom Lane) §
While no reported failures have been traced to this mistake, it seems highly unlikely to be a safe thing to do.
Related records (4)
- Same changePostgreSQL 13.6 · In psql and some other client programs, avoid trying to invoke gettext() from a control-C signal handler
- Same changePostgreSQL 12.10 · In psql and some other client programs, avoid trying to invoke gettext() from a control-C signal handler
- Same changePostgreSQL 11.15 · In psql and some other client programs, avoid trying to invoke gettext() from a control-C signal handler
- Same changePostgreSQL 10.20 · In psql and some other client programs, avoid trying to invoke gettext() from a control-C signal handler
ImprovementsAllow canceling the initial password prompt in pg_receivewal and pg_recvlogical
Changes
Allow canceling the initial password prompt in pg_receivewal and pg_recvlogical (Tom Lane, Nathan Bossart) §
Previously it was impossible to terminate these programs via control-C while they were prompting for a password.
Related records (4)
- Same changePostgreSQL 13.6 · Allow canceling the initial password prompt in pg_receivewal and pg_recvlogical
- Same changePostgreSQL 12.10 · Allow canceling the initial password prompt in pg_receivewal and pg_recvlogical
- Same changePostgreSQL 11.15 · Allow canceling the initial password prompt in pg_receivewal and pg_recvlogical
- Same changePostgreSQL 10.20 · Allow canceling the initial password prompt in pg_receivewal and pg_recvlogical
Bug fixesFix pg_dump's dump ordering for user-defined casts
Changes
Fix pg_dump's dump ordering for user-defined casts (Tom Lane) §
In rare cases, the output script might refer to a user-defined cast before it had been created.
Related records (4)
- Same changePostgreSQL 13.6 · Fix pg_dump's dump ordering for user-defined casts
- Same changePostgreSQL 12.10 · Fix pg_dump's dump ordering for user-defined casts
- Same changePostgreSQL 11.15 · Fix pg_dump's dump ordering for user-defined casts
- Same changePostgreSQL 10.20 · Fix pg_dump's dump ordering for user-defined casts
Bug fixesFix pg_dump's --inserts and --column-inserts modes to handle tables containing both generated columns and dropped columns
Changes
Fix pg_dump's --inserts and --column-inserts modes to handle tables containing both generated columns and dropped columns (Tom Lane) § §
Related records (2)
- Same changePostgreSQL 13.6 · Fix pg_dump's --inserts and --column-inserts modes to handle tables containing both generated columns and dropped columns
- Same changePostgreSQL 12.10 · Fix pg_dump's --inserts and --column-inserts modes to handle tables containing both generated columns and dropped columns
Bug fixesFix possible mis-reporting of errors in pg_dump and pg_basebackup
Changes
Fix possible mis-reporting of errors in pg_dump and pg_basebackup (Tom Lane) § §
The previous code failed to check for errors from some kernel calls, and could report the wrong errno values in other cases.
Related records (4)
- Same changePostgreSQL 13.6 · Fix possible mis-reporting of errors in pg_dump and pg_basebackup
- Same changePostgreSQL 12.10 · Fix possible mis-reporting of errors in pg_dump and pg_basebackup
- Same changePostgreSQL 11.15 · Fix possible mis-reporting of errors in pg_dump and pg_basebackup
- Same changePostgreSQL 10.20 · Fix possible mis-reporting of errors in pg_dump and pg_basebackup
Bug fixesFix results of index-only scans on contrib/btree_gist indexes on char(N) columns
Changes
Fix results of index-only scans on contrib/btree_gist indexes on char( columns (Tom Lane) §N)
Index-only scans returned column values with trailing spaces removed, which is not the expected behavior. That happened because that's how the data was stored in the index. This fix changes the code to store char( values with the expected amount of space padding. The behavior of such an index will not change immediately unless you N)REINDEX it; otherwise space-stripped values will be gradually replaced over time during updates. Queries that do not use index-only scan plans will be unaffected in any case.
Related records (4)
- Same changePostgreSQL 13.6 · Fix results of index-only scans on contrib/btree_gist indexes on char(N) columns
- Same changePostgreSQL 12.10 · Fix results of index-only scans on contrib/btree_gist indexes on char(N) columns
- Same changePostgreSQL 11.15 · Fix results of index-only scans on contrib/btree_gist indexes on char(N) columns
- Same changePostgreSQL 10.20 · Fix results of index-only scans on contrib/btree_gist indexes on char(N) columns
Bug fixesFix edge cases in postgres_fdw's handling of asynchronous queries
ImprovementsChange configure to use Python's sysconfig module, rather than the deprecated distutils module, to determine how to build PL/Python
Changes
Change configure to use Python's sysconfig module, rather than the deprecated distutils module, to determine how to build PL/Python (Peter Eisentraut, Tom Lane, Andres Freund) §
With Python 3.10, this avoids configure-time warnings about distutils being deprecated and scheduled for removal in Python 3.12. Presumably, once 3.12 is out, configure --with-python would fail altogether. This future-proofing does come at a cost: sysconfig did not exist before Python 2.7, nor before 3.2 in the Python 3 branch, so it is no longer possible to build PL/Python against long-dead Python versions.
Related records (4)
- Same changePostgreSQL 13.6 · Change configure to use Python's sysconfig module, rather than the deprecated distutils module, to determine how to build PL/Python
- Same changePostgreSQL 12.10 · Change configure to use Python's sysconfig module, rather than the deprecated distutils module, to determine how to build PL/Python
- Same changePostgreSQL 11.15 · Change configure to use Python's sysconfig module, rather than the deprecated distutils module, to determine how to build PL/Python
- Same changePostgreSQL 10.20 · Change configure to use Python's sysconfig module, rather than the deprecated distutils module, to determine how to build PL/Python
ImprovementsRe-allow cross-compilation without OpenSSL
Changes
Re-allow cross-compilation without OpenSSL (Tom Lane) §
configure should assume that /dev/urandom will be available on the target system, but it failed instead.
Bug fixesFix PL/Perl compile failure on Windows with Perl 5.28 and later
Changes
Fix PL/Perl compile failure on Windows with Perl 5.28 and later (Victor Wagner) §
Related records (4)
- Same changePostgreSQL 13.6 · Fix PL/Perl compile failure on Windows with Perl 5.28 and later
- Same changePostgreSQL 12.10 · Fix PL/Perl compile failure on Windows with Perl 5.28 and later
- Same changePostgreSQL 11.15 · Fix PL/Perl compile failure on Windows with Perl 5.28 and later
- Same changePostgreSQL 10.20 · Fix PL/Perl compile failure on Windows with Perl 5.28 and later
Bug fixesFix PL/Python compile failure with Python 3.11 and later
Changes
Fix PL/Python compile failure with Python 3.11 and later (Peter Eisentraut) §
Related records (4)
- Same changePostgreSQL 13.6 · Fix PL/Python compile failure with Python 3.11 and later
- Same changePostgreSQL 12.10 · Fix PL/Python compile failure with Python 3.11 and later
- Same changePostgreSQL 11.15 · Fix PL/Python compile failure with Python 3.11 and later
- Same changePostgreSQL 10.20 · Fix PL/Python compile failure with Python 3.11 and later
ImprovementsAdd support for building with Visual Studio 2022
Changes
Add support for building with Visual Studio 2022 (Hans Buschmann) §
Related records (4)
- Same changePostgreSQL 13.6 · Add support for building with Visual Studio 2022
- Same changePostgreSQL 12.10 · Add support for building with Visual Studio 2022
- Same changePostgreSQL 11.15 · Add support for building with Visual Studio 2022
- Same changePostgreSQL 10.20 · Add support for building with Visual Studio 2022
ImprovementsAllow the .bat wrapper scripts in our MSVC build system to be called without first changing into their directory
Changes
Allow the .bat wrapper scripts in our MSVC build system to be called without first changing into their directory (Anton Voloshin, Andrew Dunstan) § §
Related records (4)
- Same changePostgreSQL 13.6 · Allow the .bat wrapper scripts in our MSVC build system to be called without first changing into their directory
- Same changePostgreSQL 12.10 · Allow the .bat wrapper scripts in our MSVC build system to be called without first changing into their directory
- Same changePostgreSQL 11.15 · Allow the .bat wrapper scripts in our MSVC build system to be called without first changing into their directory
- Same changePostgreSQL 10.20 · Allow the .bat wrapper scripts in our MSVC build system to be called without first changing into their directory
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.