DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 14.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
14.12
2024-05-09
14.12stableSupport ends 2026-11-12
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2024-4317 Restrict visibility of pg_stats_ext and pg_stats_ext_exprs entries to the table owner | 14.12 | Recorded fix |
PostgreSQL 14.12
Migration and compatibility
A dump/restore is not required for those running 14.X.
However, a security vulnerability was found in the system views pg_stats_ext and pg_stats_ext_exprs, potentially allowing authenticated database users to see data they shouldn't. If this is of concern in your installation, follow the steps in the first changelog entry below to rectify it.
Also, if you are upgrading from a version earlier than 14.11, see Section E.14.
SecurityRestrict visibility of pg_stats_ext and pg_stats_ext_exprs entries to the table owner
Changes
Restrict visibility of pg_stats_ext and pg_stats_ext_exprs entries to the table owner (Nathan Bossart) §
These views failed to hide statistics for expressions that involve columns the accessing user does not have permission to read. View columns such as most_common_vals might expose security-relevant data. The potential interactions here are not fully clear, so in the interest of erring on the side of safety, make rows in these views visible only to the owner of the associated table.
The PostgreSQL Project thanks Lukas Fittl for reporting this problem. (CVE-2024-4317)
By itself, this fix will only fix the behavior in newly initdb'd database clusters. If you wish to apply this change in an existing cluster, you will need to do the following:
-
Find the SQL script
fix-CVE-2024-4317.sqlin thesharedirectory of the PostgreSQL installation (typically located someplace like/usr/share/postgresql/). Be sure to use the script appropriate to your PostgreSQL major version. If you do not see this file, either your version is not vulnerable (only v14–v16 are affected) or your minor version is too old to have the fix. -
In each database of the cluster, run the
fix-CVE-2024-4317.sqlscript as superuser. In psql this would look like\i /usr/share/postgresql/fix-CVE-2024-4317.sql
(adjust the file path as appropriate). Any error probably indicates that you've used the wrong script version. It will not hurt to run the script more than once.
-
Do not forget to include the
template0andtemplate1databases, or the vulnerability will still exist in databases you create later. To fixtemplate0, you'll need to temporarily make it accept connections. Do that withALTER DATABASE template0 WITH ALLOW_CONNECTIONS true;
and then after fixing
template0, undo it withALTER DATABASE template0 WITH ALLOW_CONNECTIONS false;
Bug fixesFix INSERT from multiple VALUES rows into a target column that is a domain over an array or composite type
Changes
Fix INSERT from multiple VALUES rows into a target column that is a domain over an array or composite type (Tom Lane) §
Such cases would either fail with surprising complaints about mismatched datatypes, or insert unexpected coercions that could lead to odd results.
Related records (4)
- Same changePostgreSQL 16.3 · Fix INSERT from multiple VALUES rows into a target column that is a domain over an array or composite type
- Same changePostgreSQL 15.7 · Fix INSERT from multiple VALUES rows into a target column that is a domain over an array or composite type
- Same changePostgreSQL 13.15 · Fix INSERT from multiple VALUES rows into a target column that is a domain over an array or composite type
- Same changePostgreSQL 12.19 · Fix INSERT from multiple VALUES rows into a target column that is a domain over an array or composite type
Bug fixesFix incorrect pruning of NULL partition when a table is partitioned on a boolean column and the query has a boolean IS NOT clause
Changes
Fix incorrect pruning of NULL partition when a table is partitioned on a boolean column and the query has a boolean IS NOT clause (David Rowley) §
A NULL value satisfies a clause such as , so pruning away a partition containing NULLs yielded incorrect answers.boolcol IS NOT FALSE
Related records (4)
- Same changePostgreSQL 16.3 · Fix incorrect pruning of NULL partition when a table is partitioned on a boolean column and the query has a boolean IS NOT clause
- Same changePostgreSQL 15.7 · Fix incorrect pruning of NULL partition when a table is partitioned on a boolean column and the query has a boolean IS NOT clause
- Same changePostgreSQL 13.15 · Fix incorrect pruning of NULL partition when a table is partitioned on a boolean column and the query has a boolean IS NOT clause
- Same changePostgreSQL 12.19 · Fix incorrect pruning of NULL partition when a table is partitioned on a boolean column and the query has a boolean IS NOT clause
ImprovementsMake ALTER FOREIGN TABLE SET SCHEMA move any owned sequences into the new schema
Changes
Make ALTER FOREIGN TABLE SET SCHEMA move any owned sequences into the new schema (Tom Lane) §
Moving a regular table to a new schema causes any sequences owned by the table to be moved to that schema too (along with indexes and constraints). This was overlooked for foreign tables, however.
Related records (4)
- Same changePostgreSQL 16.3 · Make ALTER FOREIGN TABLE SET SCHEMA move any owned sequences into the new schema
- Same changePostgreSQL 15.7 · Make ALTER FOREIGN TABLE SET SCHEMA move any owned sequences into the new schema
- Same changePostgreSQL 13.15 · Make ALTER FOREIGN TABLE SET SCHEMA move any owned sequences into the new schema
- Same changePostgreSQL 12.19 · Make ALTER FOREIGN TABLE SET SCHEMA move any owned sequences into the new schema
ImprovementsImprove ALTER TABLE ... ALTER COLUMN TYPE's error message when there is a dependent function or publication
Changes
Improve ALTER TABLE ... ALTER COLUMN TYPE's error message when there is a dependent function or publication (Tom Lane) §
Bug fixesFix EXPLAIN's counting of heap pages accessed by a bitmap heap scan
Changes
Fix EXPLAIN's counting of heap pages accessed by a bitmap heap scan (Melanie Plageman) §
Previously, heap pages that contain no visible tuples were not counted; but it seems more consistent to count all pages returned by the bitmap index scan.
Related records (4)
- Same changePostgreSQL 16.3 · Fix EXPLAIN's counting of heap pages accessed by a bitmap heap scan
- Same changePostgreSQL 15.7 · Fix EXPLAIN's counting of heap pages accessed by a bitmap heap scan
- Same changePostgreSQL 13.15 · Fix EXPLAIN's counting of heap pages accessed by a bitmap heap scan
- Same changePostgreSQL 12.19 · Fix EXPLAIN's counting of heap pages accessed by a bitmap heap scan
Bug fixesAvoid deadlock during removal of orphaned temporary tables
Changes
Avoid deadlock during removal of orphaned temporary tables (Mikhail Zhilin) §
If the session that creates a temporary table crashes without removing the table, autovacuum will eventually try to remove the orphaned table. However, an incoming session that's been assigned the same temporary namespace will do that too. If a temporary table has a dependency (such as an owned sequence) then a deadlock could result between these two cleanup attempts.
Related records (4)
- Same changePostgreSQL 16.3 · Avoid deadlock during removal of orphaned temporary tables
- Same changePostgreSQL 15.7 · Avoid deadlock during removal of orphaned temporary tables
- Same changePostgreSQL 13.15 · Avoid deadlock during removal of orphaned temporary tables
- Same changePostgreSQL 12.19 · Avoid deadlock during removal of orphaned temporary tables
ImprovementsAvoid race condition while examining per-relation frozen-XID values
Changes
Avoid race condition while examining per-relation frozen-XID values (Noah Misch) §
VACUUM's computation of per-database frozen-XID values from per-relation values could get confused by a concurrent update of those values by another VACUUM.
Related records (4)
- Same changePostgreSQL 16.3 · Avoid race condition while examining per-relation frozen-XID values
- Same changePostgreSQL 15.7 · Avoid race condition while examining per-relation frozen-XID values
- Same changePostgreSQL 13.15 · Avoid race condition while examining per-relation frozen-XID values
- Same changePostgreSQL 12.19 · Avoid race condition while examining per-relation frozen-XID values
ImprovementsDisallow converting a table to a view within an outer SQL command that is using that table
Changes
Disallow converting a table to a view within an outer SQL command that is using that table (Tom Lane) §
This avoids possible crashes.
Related records (3)
- Same changePostgreSQL 15.7 · Disallow converting a table to a view within an outer SQL command that is using that table
- Same changePostgreSQL 13.15 · Disallow converting a table to a view within an outer SQL command that is using that table
- Same changePostgreSQL 12.19 · Disallow converting a table to a view within an outer SQL command that is using that table
Bug fixesEnsure that join conditions generated from equivalence classes are applied at the correct plan level
Changes
Ensure that join conditions generated from equivalence classes are applied at the correct plan level (Tom Lane) §
In versions before PostgreSQL 16, it was possible for generated conditions to be evaluated below outer joins when they should be evaluated above (after) the outer join, leading to incorrect query results. All versions have a similar hazard when considering joins to UNION ALL trees that have constant outputs for the join column in some SELECT arms.
Related records (4)
- Same changePostgreSQL 16.3 · Ensure that join conditions generated from equivalence classes are applied at the correct plan level
- Same changePostgreSQL 15.7 · Ensure that join conditions generated from equivalence classes are applied at the correct plan level
- Same changePostgreSQL 13.15 · Ensure that join conditions generated from equivalence classes are applied at the correct plan level
- Same changePostgreSQL 12.19 · Ensure that join conditions generated from equivalence classes are applied at the correct plan level
ImprovementsAvoid unnecessary use of moving-aggregate mode with a non-moving window frame
Changes
Avoid unnecessary use of moving-aggregate mode with a non-moving window frame (Vallimaharajan G) §
When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use the special (and more expensive) moving-aggregate mode. This optimization was intended all along, but due to a coding error it never triggered.
Related records (4)
- Same changePostgreSQL 16.3 · Avoid unnecessary use of moving-aggregate mode with a non-moving window frame
- Same changePostgreSQL 15.7 · Avoid unnecessary use of moving-aggregate mode with a non-moving window frame
- Same changePostgreSQL 13.15 · Avoid unnecessary use of moving-aggregate mode with a non-moving window frame
- Same changePostgreSQL 12.19 · Avoid unnecessary use of moving-aggregate mode with a non-moving window frame
ImprovementsAvoid use of already-freed data while planning partition-wise joins under GEQO
Changes
Avoid use of already-freed data while planning partition-wise joins under GEQO (Tom Lane) §
This would typically end in a crash or unexpected error message.
Related records (4)
- Same changePostgreSQL 16.3 · Avoid use of already-freed data while planning partition-wise joins under GEQO
- Same changePostgreSQL 15.7 · Avoid use of already-freed data while planning partition-wise joins under GEQO
- Same changePostgreSQL 13.15 · Avoid use of already-freed data while planning partition-wise joins under GEQO
- Same changePostgreSQL 12.19 · Avoid use of already-freed data while planning partition-wise joins under GEQO
ImprovementsAvoid freeing still-in-use data in Memoize
Changes
Avoid freeing still-in-use data in Memoize (Tender Wang, Andrei Lepikhov) §
In production builds this error frequently didn't cause any problems, as the freed data would most likely not get overwritten before it was used.
Related records (2)
Bug fixesFix incorrectly-reported statistics kind codes in “requested statistics kind X is not yet built” error messages
Changes
Fix incorrectly-reported statistics kind codes in “requested statistics kind X is not yet built” error messages (David Rowley) §
Related records (4)
- Same changePostgreSQL 16.3 · Fix incorrectly-reported statistics kind codes in “requested statistics kind X is not yet built” error messages
- Same changePostgreSQL 15.7 · Fix incorrectly-reported statistics kind codes in “requested statistics kind X is not yet built” error messages
- Same changePostgreSQL 13.15 · Fix incorrectly-reported statistics kind codes in “requested statistics kind X is not yet built” error messages
- Same changePostgreSQL 12.19 · Fix incorrectly-reported statistics kind codes in “requested statistics kind X is not yet built” error messages
ImprovementsBe more careful with RECORD-returning functions in FROM
Changes
Be more careful with RECORD-returning functions in FROM (Tom Lane) § §
The output columns of such a function call must be defined by an AS clause that specifies the column names and data types. If the actual function output value doesn't match that, an error is supposed to be thrown at runtime. However, some code paths would examine the actual value prematurely, and potentially issue strange errors or suffer assertion failures if it doesn't match expectations.
Related records (4)
- Same changePostgreSQL 16.3 · Be more careful with RECORD-returning functions in FROM
- Same changePostgreSQL 15.7 · Be more careful with RECORD-returning functions in FROM
- Same changePostgreSQL 13.15 · Be more careful with RECORD-returning functions in FROM
- Same changePostgreSQL 12.19 · Be more careful with RECORD-returning functions in FROM
Bug fixesFix confusion about the return rowtype of SQL-language procedures
Changes
Fix confusion about the return rowtype of SQL-language procedures (Tom Lane) §
A procedure implemented in SQL language that returns a single composite-type column would cause an assertion failure or core dump.
Related records (4)
- Same changePostgreSQL 16.3 · Fix confusion about the return rowtype of SQL-language procedures
- Same changePostgreSQL 15.7 · Fix confusion about the return rowtype of SQL-language procedures
- Same changePostgreSQL 13.15 · Fix confusion about the return rowtype of SQL-language procedures
- Same changePostgreSQL 12.19 · Fix confusion about the return rowtype of SQL-language procedures
ImprovementsAdd protective stack depth checks to some recursive functions
Changes
Add protective stack depth checks to some recursive functions (Egor Chindyaskin) §
Related records (4)
- Same changePostgreSQL 16.3 · Add protective stack depth checks to some recursive functions
- Same changePostgreSQL 15.7 · Add protective stack depth checks to some recursive functions
- Same changePostgreSQL 13.15 · Add protective stack depth checks to some recursive functions
- Same changePostgreSQL 12.19 · Add protective stack depth checks to some recursive functions
Bug fixesFix mis-rounding and overflow hazards in date_bin()
Changes
Fix mis-rounding and overflow hazards in date_bin() (Moaaz Assali) §
In the case where the source timestamp is before the origin timestamp and their difference is already an exact multiple of the stride, the code incorrectly subtracted the stride anyway. Also, detect some integer-overflow cases that would have produced incorrect results.
Related records (2)
ImprovementsDetect integer overflow when adding or subtracting an interval to/from a timestamp
Changes
Detect integer overflow when adding or subtracting an interval to/from a timestamp (Joseph Koshakow) §
Some cases that should cause an out-of-range error produced an incorrect result instead.
Related records (4)
- Same changePostgreSQL 16.3 · Detect integer overflow when adding or subtracting an interval to/from a timestamp
- Same changePostgreSQL 15.7 · Detect integer overflow when adding or subtracting an interval to/from a timestamp
- Same changePostgreSQL 13.15 · Detect integer overflow when adding or subtracting an interval to/from a timestamp
- Same changePostgreSQL 12.19 · Detect integer overflow when adding or subtracting an interval to/from a timestamp
ImprovementsAvoid race condition in pg_get_expr()
Changes
Avoid race condition in pg_get_expr() (Tom Lane) §
If the relation referenced by the argument is dropped concurrently, the function's intention is to return NULL, but sometimes it failed instead.
Related records (4)
Bug fixesFix detection of old transaction IDs in XID status functions
Changes
Fix detection of old transaction IDs in XID status functions (Karina Litskevich) §
Transaction IDs more than 231 transactions in the past could be misidentified as recent, leading to misbehavior of pg_xact_status() or txid_status().
Related records (4)
- Same changePostgreSQL 16.3 · Fix detection of old transaction IDs in XID status functions
- Same changePostgreSQL 15.7 · Fix detection of old transaction IDs in XID status functions
- Same changePostgreSQL 13.15 · Fix detection of old transaction IDs in XID status functions
- Same changePostgreSQL 12.19 · Fix detection of old transaction IDs in XID status functions
ImprovementsEnsure that a table's freespace map won't return a page that's past the end of the table
Changes
Ensure that a table's freespace map won't return a page that's past the end of the table (Ronan Dunklau) §
Because the freespace map isn't WAL-logged, this was possible in edge cases involving an OS crash, a replica promote, or a PITR restore. The result would be a “could not read block” error.
Bug fixesFix file descriptor leakage when an error is thrown while waiting in WaitEventSetWait
Changes
Fix file descriptor leakage when an error is thrown while waiting in WaitEventSetWait (Etsuro Fujita) §
Related records (4)
- Same changePostgreSQL 16.3 · Fix file descriptor leakage when an error is thrown while waiting in WaitEventSetWait
- Same changePostgreSQL 15.7 · Fix file descriptor leakage when an error is thrown while waiting in WaitEventSetWait
- Same changePostgreSQL 13.15 · Fix file descriptor leakage when an error is thrown while waiting in WaitEventSetWait
- Same changePostgreSQL 12.19 · Fix file descriptor leakage when an error is thrown while waiting in WaitEventSetWait
Bug fixesAvoid corrupting exception stack if an FDW implements async append but doesn't configure any wait conditions for the Append plan node to wait for
Changes
Avoid corrupting exception stack if an FDW implements async append but doesn't configure any wait conditions for the Append plan node to wait for (Alexander Pyhalov) §
Related records (2)
- Same changePostgreSQL 16.3 · Avoid corrupting exception stack if an FDW implements async append but doesn't configure any wait conditions for the Append plan node to wait for
- Same changePostgreSQL 15.7 · Avoid corrupting exception stack if an FDW implements async append but doesn't configure any wait conditions for the Append plan node to wait for
ImprovementsThrow an error if an index is accessed while it is being reindexed
Changes
Throw an error if an index is accessed while it is being reindexed (Tom Lane) §
Previously this was just an assertion check, but promote it into a regular runtime error. This will provide a more on-point error message when reindexing a user-defined index expression that attempts to access its own table.
Related records (4)
- Same changePostgreSQL 16.3 · Throw an error if an index is accessed while it is being reindexed
- Same changePostgreSQL 15.7 · Throw an error if an index is accessed while it is being reindexed
- Same changePostgreSQL 13.15 · Throw an error if an index is accessed while it is being reindexed
- Same changePostgreSQL 12.19 · Throw an error if an index is accessed while it is being reindexed
ImprovementsEnsure that index-only scans on name columns return a fully-padded value
Changes
Ensure that index-only scans on name columns return a fully-padded value (David Rowley) §
The value physically stored in the index is truncated, and previously a pointer to that value was returned to callers. This provoked complaints when testing under valgrind. In theory it could result in crashes, though none have been reported.
Related records (4)
- Same changePostgreSQL 16.3 · Ensure that index-only scans on name columns return a fully-padded value
- Same changePostgreSQL 15.7 · Ensure that index-only scans on name columns return a fully-padded value
- Same changePostgreSQL 13.15 · Ensure that index-only scans on name columns return a fully-padded value
- Same changePostgreSQL 12.19 · Ensure that index-only scans on name columns return a fully-padded value
Bug fixesFix crash with DSM allocations larger than 4GB
Changes
Fix crash with DSM allocations larger than 4GB (Heikki Linnakangas) §
Related records (4)
- Same changePostgreSQL 16.3 · Fix crash with DSM allocations larger than 4GB
- Same changePostgreSQL 15.7 · Fix crash with DSM allocations larger than 4GB
- Same changePostgreSQL 13.15 · Fix crash with DSM allocations larger than 4GB
- Same changePostgreSQL 12.19 · Fix crash with DSM allocations larger than 4GB
ImprovementsDisconnect if a new server session's client socket cannot be put into non-blocking mode
Changes
Disconnect if a new server session's client socket cannot be put into non-blocking mode (Heikki Linnakangas) §
It was once theoretically possible for us to operate with a socket that's in blocking mode; but that hasn't worked fully in a long time, so fail at connection start rather than misbehave later.
Related records (4)
- Same changePostgreSQL 16.3 · Disconnect if a new server session's client socket cannot be put into non-blocking mode
- Same changePostgreSQL 15.7 · Disconnect if a new server session's client socket cannot be put into non-blocking mode
- Same changePostgreSQL 13.15 · Disconnect if a new server session's client socket cannot be put into non-blocking mode
- Same changePostgreSQL 12.19 · Disconnect if a new server session's client socket cannot be put into non-blocking mode
Bug fixesFix inadequate error reporting with OpenSSL 3.0.0 and later
Changes
Fix inadequate error reporting with OpenSSL 3.0.0 and later (Heikki Linnakangas, Tom Lane) §
System-reported errors passed through by OpenSSL were reported with a numeric error code rather than anything readable.
Related records (4)
- Same changePostgreSQL 16.3 · Fix inadequate error reporting with OpenSSL 3.0.0 and later
- Same changePostgreSQL 15.7 · Fix inadequate error reporting with OpenSSL 3.0.0 and later
- Same changePostgreSQL 13.15 · Fix inadequate error reporting with OpenSSL 3.0.0 and later
- Same changePostgreSQL 12.19 · Fix inadequate error reporting with OpenSSL 3.0.0 and later
ImprovementsAvoid concurrent calls to bindtextdomain() in libpq and ecpglib
Changes
Avoid concurrent calls to bindtextdomain() in libpq and ecpglib (Tom Lane) § §
Although GNU gettext's implementation seems to be fine with concurrent calls, the version available on Windows is not.
Related records (4)
- Same changePostgreSQL 16.3 · Avoid concurrent calls to bindtextdomain() in libpq and ecpglib
- Same changePostgreSQL 15.7 · Avoid concurrent calls to bindtextdomain() in libpq and ecpglib
- Same changePostgreSQL 13.15 · Avoid concurrent calls to bindtextdomain() in libpq and ecpglib
- Same changePostgreSQL 12.19 · Avoid concurrent calls to bindtextdomain() in libpq and ecpglib
Bug fixesFix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line
Changes
Fix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line (Tom Lane) § § §
Related records (4)
- Same changePostgreSQL 16.3 · Fix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line
- Same changePostgreSQL 15.7 · Fix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line
- Same changePostgreSQL 13.15 · Fix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line
- Same changePostgreSQL 12.19 · Fix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line
ImprovementsIn ecpg, avoid issuing false “unsupported feature will be passed to server” warnings
Changes
In ecpg, avoid issuing false “unsupported feature will be passed to server” warnings (Tom Lane) §
Related records (4)
- Same changePostgreSQL 16.3 · In ecpg, avoid issuing false “unsupported feature will be passed to server” warnings
- Same changePostgreSQL 15.7 · In ecpg, avoid issuing false “unsupported feature will be passed to server” warnings
- Same changePostgreSQL 13.15 · In ecpg, avoid issuing false “unsupported feature will be passed to server” warnings
- Same changePostgreSQL 12.19 · In ecpg, avoid issuing false “unsupported feature will be passed to server” warnings
ImprovementsEnsure that the string result of ecpg's intoasc() function is correctly zero-terminated
Changes
Ensure that the string result of ecpg's intoasc() function is correctly zero-terminated (Oleg Tselebrovskiy) §
Related records (4)
- Same changePostgreSQL 16.3 · Ensure that the string result of ecpg's intoasc() function is correctly zero-terminated
- Same changePostgreSQL 15.7 · Ensure that the string result of ecpg's intoasc() function is correctly zero-terminated
- Same changePostgreSQL 13.15 · Ensure that the string result of ecpg's intoasc() function is correctly zero-terminated
- Same changePostgreSQL 12.19 · Ensure that the string result of ecpg's intoasc() function is correctly zero-terminated
Bug fixesFix pg_dumpall so that role comments, if present, will be dumped regardless of the setting of --no-role-passwords
Changes
Fix pg_dumpall so that role comments, if present, will be dumped regardless of the setting of --no-role-passwords (Daniel Gustafsson, Álvaro Herrera) § §
Related records (4)
- Same changePostgreSQL 16.3 · Fix pg_dumpall so that role comments, if present, will be dumped regardless of the setting of --no-role-passwords
- Same changePostgreSQL 15.7 · Fix pg_dumpall so that role comments, if present, will be dumped regardless of the setting of --no-role-passwords
- Same changePostgreSQL 13.15 · Fix pg_dumpall so that role comments, if present, will be dumped regardless of the setting of --no-role-passwords
- Same changePostgreSQL 12.19 · Fix pg_dumpall so that role comments, if present, will be dumped regardless of the setting of --no-role-passwords
Bug fixesFix PL/pgSQL's parsing of single-line comments (---style comments) following expressions
Changes
Fix PL/pgSQL's parsing of single-line comments (---style comments) following expressions (Erik Wienhold, Tom Lane) §
This mistake caused parse errors if such a comment followed a WHEN expression in a PL/pgSQL CASE statement.
Related records (4)
- Same changePostgreSQL 16.3 · Fix PL/pgSQL's parsing of single-line comments (---style comments) following expressions
- Same changePostgreSQL 15.7 · Fix PL/pgSQL's parsing of single-line comments (---style comments) following expressions
- Same changePostgreSQL 13.15 · Fix PL/pgSQL's parsing of single-line comments (---style comments) following expressions
- Same changePostgreSQL 12.19 · Fix PL/pgSQL's parsing of single-line comments (---style comments) following expressions
ImprovementsIn contrib/amcheck, don't report false match failures due to short- versus long-header values
Changes
In contrib/amcheck, don't report false match failures due to short- versus long-header values (Andrey Borodin, Michael Zhilin) § §
A variable-length datum in a heap tuple or index tuple could have either a short or a long header, depending on compression parameters that applied when it was made. Treat these cases as equivalent rather than complaining if there's a difference.
Related records (4)
- Same changePostgreSQL 16.3 · In contrib/amcheck, don't report false match failures due to short- versus long-header values
- Same changePostgreSQL 15.7 · In contrib/amcheck, don't report false match failures due to short- versus long-header values
- Same changePostgreSQL 13.15 · In contrib/amcheck, don't report false match failures due to short- versus long-header values
- Same changePostgreSQL 12.19 · In contrib/amcheck, don't report false match failures due to short- versus long-header values
Bug fixesFix bugs in BRIN output functions
Changes
Fix bugs in BRIN output functions (Tomas Vondra) §
These output functions are only used for displaying index entries in contrib/pageinspect, so the errors are of limited practical concern.
Related records (2)
ImprovementsIn contrib/postgres_fdw, avoid emitting requests to sort by a constant
Changes
In contrib/postgres_fdw, avoid emitting requests to sort by a constant (David Rowley) §
This could occur in cases involving UNION ALL with constant-emitting subqueries. Sorting by a constant is useless of course, but it also risks being misinterpreted by the remote server, leading to “ORDER BY position N is not in select list” errors.
Related records (4)
- Same changePostgreSQL 16.3 · In contrib/postgres_fdw, avoid emitting requests to sort by a constant
- Same changePostgreSQL 15.7 · In contrib/postgres_fdw, avoid emitting requests to sort by a constant
- Same changePostgreSQL 13.15 · In contrib/postgres_fdw, avoid emitting requests to sort by a constant
- Same changePostgreSQL 12.19 · In contrib/postgres_fdw, avoid emitting requests to sort by a constant
ImprovementsMake contrib/postgres_fdw set the remote session's time zone to GMT not UTC
Changes
Make contrib/postgres_fdw set the remote session's time zone to GMT not UTC (Tom Lane) §
This should have the same results for practical purposes. However, GMT is recognized by hard-wired code in the server, while UTC is looked up in the timezone database. So the old code could fail in the unlikely event that the remote server's timezone database is missing entries.
Related records (4)
- Same changePostgreSQL 16.3 · Make contrib/postgres_fdw set the remote session's time zone to GMT not UTC
- Same changePostgreSQL 15.7 · Make contrib/postgres_fdw set the remote session's time zone to GMT not UTC
- Same changePostgreSQL 13.15 · Make contrib/postgres_fdw set the remote session's time zone to GMT not UTC
- Same changePostgreSQL 12.19 · Make contrib/postgres_fdw set the remote session's time zone to GMT not UTC
ImprovementsIn contrib/xml2, avoid use of library functions that have been deprecated in recent versions of libxml2
Changes
In contrib/xml2, avoid use of library functions that have been deprecated in recent versions of libxml2 (Dmitry Koval) §
Related records (4)
- Same changePostgreSQL 16.3 · In contrib/xml2, avoid use of library functions that have been deprecated in recent versions of libxml2
- Same changePostgreSQL 15.7 · In contrib/xml2, avoid use of library functions that have been deprecated in recent versions of libxml2
- Same changePostgreSQL 13.15 · In contrib/xml2, avoid use of library functions that have been deprecated in recent versions of libxml2
- Same changePostgreSQL 12.19 · In contrib/xml2, avoid use of library functions that have been deprecated in recent versions of libxml2
Bug fixesFix incompatibility with LLVM 18
ImprovementsAllow make check to work with the musl C library
Changes
Allow make check to work with the musl C library (Thomas Munro, Bruce Momjian, Tom Lane) §
Related records (4)
- Same changePostgreSQL 16.3 · Allow make check to work with the musl C library
- Same changePostgreSQL 15.7 · Allow make check to work with the musl C library
- Same changePostgreSQL 13.15 · Allow make check to work with the musl C library
- Same changePostgreSQL 12.19 · Allow make check to work with the musl C library
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.