DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 12.3 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
12.3
2020-05-14
12.3stableSupport ends 2024-11-21
PostgreSQL 12.3
Migration and compatibility
A dump/restore is not required for those running 12.X.
However, if you are upgrading from a version earlier than 12.2, see Section E.21.
Bug fixesFix possible failure with GENERATED columns
Changes
Fix possible failure with GENERATED columns (David Rowley) §
If a GENERATED column's value is an exact copy of another column of the table (and it is a pass-by-reference data type), it was possible to crash or insert corrupted data into the table. While it would be rather pointless for a GENERATED expression to just duplicate another column, an expression using a function that sometimes returns its input unchanged could create the situation.
ImprovementsHandle inheritance of generated columns better
Changes
Handle inheritance of generated columns better (Peter Eisentraut) §
When a table column is inherited during CREATE TABLE ... INHERITS, disallow changing any generation properties when the parent column is already marked GENERATED; but allow a child column to be marked GENERATED when its parent is not.
Bug fixesFix cross-column references in CREATE TABLE LIKE INCLUDING GENERATED
Changes
Fix cross-column references in CREATE TABLE LIKE INCLUDING GENERATED (Peter Eisentraut) §
CREATE TABLE ... LIKE failed when trying to copy a GENERATED expression that references a physically-later column.
ImprovementsPropagate ALTER TABLE ... SET STORAGE to indexes
Changes
Propagate ALTER TABLE ... SET STORAGE to indexes (Peter Eisentraut) §
Non-expression index columns have always copied the attstorage property of their table column at creation. Update them when ALTER TABLE ... SET STORAGE is done, to maintain consistency.
Related records (1)
ImprovementsPreserve the indisclustered setting of indexes rewritten by ALTER TABLE
Changes
Preserve the indisclustered setting of indexes rewritten by ALTER TABLE (Amit Langote, Justin Pryzby) §
Previously, ALTER TABLE lost track of which index had been used for CLUSTER.
Related records (4)
- Same changePostgreSQL 11.8 · Preserve the indisclustered setting of indexes rewritten by ALTER TABLE
- Same changePostgreSQL 10.13 · Preserve the indisclustered setting of indexes rewritten by ALTER TABLE
- Same changePostgreSQL 9.6.18 · Preserve the indisclustered setting of indexes rewritten by ALTER TABLE
- Same changePostgreSQL 9.5.22 · Preserve the indisclustered setting of indexes rewritten by ALTER TABLE
ImprovementsPreserve the replica identity properties of indexes rewritten by ALTER TABLE
Changes
Preserve the replica identity properties of indexes rewritten by ALTER TABLE (Quan Zongliang, Peter Eisentraut) §
Related records (4)
- Same changePostgreSQL 11.8 · Preserve the replica identity properties of indexes rewritten by ALTER TABLE
- Same changePostgreSQL 10.13 · Preserve the replica identity properties of indexes rewritten by ALTER TABLE
- Same changePostgreSQL 9.6.18 · Preserve the replica identity properties of indexes rewritten by ALTER TABLE
- Same changePostgreSQL 9.5.22 · Preserve the replica identity properties of indexes rewritten by ALTER TABLE
ImprovementsPreserve the indisclustered setting of indexes rebuilt by REINDEX CONCURRENTLY
Changes
Preserve the indisclustered setting of indexes rebuilt by REINDEX CONCURRENTLY (Justin Pryzby) §
ImprovementsLock objects sooner during DROP OWNED BY
Changes
Lock objects sooner during DROP OWNED BY (Álvaro Herrera) §
This avoids failures in race-condition cases where another session is deleting some of the same objects.
Related records (4)
Bug fixesFix error-case processing for CREATE ROLE ... IN ROLE
Changes
Fix error-case processing for CREATE ROLE ... IN ROLE (Andrew Gierth) §
Some error cases would be reported as “unexpected node type” or the like, instead of the intended message.
Related records (4)
- Same changePostgreSQL 11.8 · Fix error-case processing for CREATE ROLE ... IN ROLE
- Same changePostgreSQL 10.13 · Fix error-case processing for CREATE ROLE ... IN ROLE
- Same changePostgreSQL 9.6.18 · Fix error-case processing for CREATE ROLE ... IN ROLE
- Same changePostgreSQL 9.5.22 · Fix error-case processing for CREATE ROLE ... IN ROLE
ImprovementsEnsure that when a partition is detached, any triggers cloned from its formerly-parent table are removed
Changes
Ensure that when a partition is detached, any triggers cloned from its formerly-parent table are removed (Justin Pryzby) §
Bug fixesFix crash when COLLATE is applied to a non-collatable type in a partition bound expression
Changes
Fix crash when COLLATE is applied to a non-collatable type in a partition bound expression (Dmitry Dolgov) §
ImprovementsEnsure that unique indexes over partitioned tables match the equality semantics of the partitioning key
Changes
Ensure that unique indexes over partitioned tables match the equality semantics of the partitioning key (Guancheng Luo) §
This would only be an issue with index opclasses that have unusual notions of equality, but it's wrong in theory, so check.
ImprovementsEnsure that members of the pg_read_all_stats role can read all statistics views, as expected
Changes
Ensure that members of the pg_read_all_stats role can read all statistics views, as expected (Magnus Hagander) §
The functions underlying the pg_stat_progress_* views had not gotten this memo.
Bug fixesRepair performance regression in information_schema.triggers view
Changes
Repair performance regression in information_schema.triggers view (Tom Lane) §
This patch redefines that view so that an outer WHERE clause constraining the table name can be pushed down into the view, allowing its calculations to be done only for triggers belonging to the table of interest rather than all triggers in the database. In a database with many triggers this would make a significant speed difference for queries of that form. Since things worked that way before v11, this is a potential performance regression. Users who find this to be a problem can fix it by replacing the view definition (or, perhaps, just deleting and reinstalling the whole information_schema schema).
Related records (1)
Bug fixesRepair performance regression in floating point overflow/underflow detection
Changes
Repair performance regression in floating point overflow/underflow detection (Emre Hasegeli) §
Previous refactoring had resulted in isinf() being called extra times in some hot code paths.
Bug fixesFix full text search to handle NOT above a phrase search correctly
Changes
Fix full text search to handle NOT above a phrase search correctly (Tom Lane) §
Queries such as !(foo<->bar) failed to find matching rows when implemented as a GiST or GIN index search.
Related records (3)
Bug fixesFix full text search for cases where a phrase search includes an item with both prefix matching and a weight restriction
Changes
Fix full text search for cases where a phrase search includes an item with both prefix matching and a weight restriction (Tom Lane) §
Related records (3)
- Same changePostgreSQL 11.8 · Fix full text search for cases where a phrase search includes an item with both prefix matching and a weight restriction
- Same changePostgreSQL 10.13 · Fix full text search for cases where a phrase search includes an item with both prefix matching and a weight restriction
- Same changePostgreSQL 9.6.18 · Fix full text search for cases where a phrase search includes an item with both prefix matching and a weight restriction
Bug fixesFix ts_headline() to make better headline selections when working with phrase queries
Changes
Fix ts_headline() to make better headline selections when working with phrase queries (Tom Lane) § § §
Related records (3)
- Same changePostgreSQL 11.8 · Fix ts_headline() to make better headline selections when working with phrase queries
- Same changePostgreSQL 10.13 · Fix ts_headline() to make better headline selections when working with phrase queries
- Same changePostgreSQL 9.6.18 · Fix ts_headline() to make better headline selections when working with phrase queries
Bug fixesFix bugs in gin_fuzzy_search_limit processing
Changes
Fix bugs in gin_fuzzy_search_limit processing (Adé Heyward, Tom Lane) §
A small value of gin_fuzzy_search_limit could result in unexpected slowness due to unintentionally rescanning the same index page many times. Another code path failed to apply the intended filtering at all, possibly returning too many values.
Related records (4)
- Same changePostgreSQL 11.8 · Fix bugs in gin_fuzzy_search_limit processing
- Same changePostgreSQL 10.13 · Fix bugs in gin_fuzzy_search_limit processing
- Same changePostgreSQL 9.6.18 · Fix bugs in gin_fuzzy_search_limit processing
- Same changePostgreSQL 9.5.22 · Fix bugs in gin_fuzzy_search_limit processing
ImprovementsAllow input of type circle to accept the format “(x,y),r” as the documentation says it does
Changes
Allow input of type circle to accept the format “(” as the documentation says it does (David Zhang) §x,y),r
Related records (4)
- Same changePostgreSQL 11.8 · Allow input of type circle to accept the format “(x,y),r” as the documentation says it does
- Same changePostgreSQL 10.13 · Allow input of type circle to accept the format “(x,y),r” as the documentation says it does
- Same changePostgreSQL 9.6.18 · Allow input of type circle to accept the format "(x,y),r" as the documentation says it does
- Same changePostgreSQL 9.5.22 · Allow input of type circle to accept the format "(x,y),r" as the documentation says it does
ImprovementsMake the get_bit() and set_bit() functions cope with bytea strings longer than 256MB
Changes
Make the get_bit() and set_bit() functions cope with bytea strings longer than 256MB (Movead Li) §
Since the bit number argument is only int4, it's impossible to use these functions to access bits beyond the first 256MB of a long bytea. We'll widen the argument to int8 in v13, but in the meantime, allow these functions to work on the initial substring of a long bytea.
Related records (5)
- Related commitsPostgreSQL 13.0 · Allow get_bit() and set_bit() to set bits beyond the first 256MB of a bytea value
- Same changePostgreSQL 11.8 · Make the get_bit() and set_bit() functions cope with bytea strings longer than 256MB
- Same changePostgreSQL 10.13 · Make the get_bit() and set_bit() functions cope with bytea strings longer than 256MB
- Same changePostgreSQL 9.6.18 · Make the get_bit() and set_bit() functions cope with bytea strings longer than 256MB
- Same changePostgreSQL 9.5.22 · Make the get_bit() and set_bit() functions cope with bytea strings longer than 256MB
ImprovementsIgnore file-not-found errors in pg_ls_waldir() and allied functions
Changes
Ignore file-not-found errors in pg_ls_waldir() and allied functions (Tom Lane) §
This prevents a race condition failure if a file is removed between when we see its directory entry and when we attempt to stat() it.
Bug fixesAvoid possibly leaking an open-file descriptor for a directory in pg_ls_dir(), pg_timezone_names(), pg_tablespace_databases(), and allied functions
Changes
Avoid possibly leaking an open-file descriptor for a directory in pg_ls_dir(), pg_timezone_names(), pg_tablespace_databases(), and allied functions (Justin Pryzby) § § §
Related records (4)
- Same changePostgreSQL 11.8 · Avoid possibly leaking an open-file descriptor for a directory in pg_ls_dir(), pg_timezone_names(), pg_tablespace_databases(), and allied functions
- Same changePostgreSQL 10.13 · Avoid possibly leaking an open-file descriptor for a directory in pg_ls_dir(), pg_timezone_names(), pg_tablespace_databases(), and allied functions
- Same changePostgreSQL 9.6.18 · Avoid possibly leaking an open-file descriptor for a directory in pg_ls_dir(), pg_timezone_names(), pg_tablespace_databases(), and allied functions
- Same changePostgreSQL 9.5.22 · Avoid possibly leaking an open-file descriptor for a directory in pg_ls_dir(), pg_timezone_names(), pg_tablespace_databases(), and allied functions
Bug fixesFix polymorphic-function type resolution to correctly infer the actual type of an anyarray output when given only an anyrange input
Changes
Fix polymorphic-function type resolution to correctly infer the actual type of an anyarray output when given only an anyrange input (Tom Lane) §
Related records (4)
- Same changePostgreSQL 11.8 · Fix polymorphic-function type resolution to correctly infer the actual type of an anyarray output when given only an anyrange input
- Same changePostgreSQL 10.13 · Fix polymorphic-function type resolution to correctly infer the actual type of an anyarray output when given only an anyrange input
- Same changePostgreSQL 9.6.18 · Fix polymorphic-function type resolution to correctly infer the actual type of an anyarray output when given only an anyrange input
- Same changePostgreSQL 9.5.22 · Fix polymorphic-function type resolution to correctly infer the actual type of an anyarray output when given only an anyrange input
Bug fixesFix server's connection-startup logic for case where a GSSAPI connection is rejected because support is not compiled in, and the client then tries SSL instead
Changes
Fix server's connection-startup logic for case where a GSSAPI connection is rejected because support is not compiled in, and the client then tries SSL instead (Andrew Gierth) §
This led to a bogus “unsupported frontend protocol” failure.
Bug fixesFix memory leakage during GSSAPI encryption
Changes
Fix memory leakage during GSSAPI encryption (Tom Lane) §
Both the backend and libpq would leak memory equivalent to the total amount of data sent during the session, if GSSAPI encryption is in use.
Bug fixesFix query-lifespan memory leak for a set-returning function used in a query's FROM clause
Changes
Fix query-lifespan memory leak for a set-returning function used in a query's FROM clause (Andres Freund) §
Bug fixesAvoid leakage of a hashed subplan's hash tables across multiple executions
Changes
Avoid leakage of a hashed subplan's hash tables across multiple executions (Andreas Karlsson, Tom Lane) §
This mistake could result in severe memory bloat if a query re-executed a hashed subplan enough times.
Related records (1)
ImprovementsImprove planner's handling of no-op domain coercions
Changes
Improve planner's handling of no-op domain coercions (Tom Lane) §
Fix some cases where a domain coercion that does nothing was not completely removed from expressions.
Bug fixesAvoid unlikely crash when REINDEX is terminated by a session-shutdown signal
Changes
Avoid unlikely crash when REINDEX is terminated by a session-shutdown signal (Tom Lane) §
Related records (4)
- Same changePostgreSQL 11.8 · Avoid unlikely crash when REINDEX is terminated by a session-shutdown signal
- Same changePostgreSQL 10.13 · Avoid unlikely crash when REINDEX is terminated by a session-shutdown signal
- Same changePostgreSQL 9.6.18 · Avoid unlikely crash when REINDEX is terminated by a session-shutdown signal
- Same changePostgreSQL 9.5.22 · Avoid unlikely crash when REINDEX is terminated by a session-shutdown signal
ImprovementsPrevent printout of possibly-incorrect hash join table statistics in EXPLAIN
Changes
Prevent printout of possibly-incorrect hash join table statistics in EXPLAIN (Konstantin Knizhnik, Tom Lane, Thomas Munro) §
Related records (4)
- Same changePostgreSQL 11.8 · Prevent printout of possibly-incorrect hash join table statistics in EXPLAIN
- Same changePostgreSQL 10.13 · Prevent printout of possibly-incorrect hash join table statistics in EXPLAIN
- Same changePostgreSQL 9.6.18 · Prevent printout of possibly-incorrect hash join table statistics in EXPLAIN
- Same changePostgreSQL 9.5.22 · Prevent printout of possibly-incorrect hash join table statistics in EXPLAIN
Bug fixesFix reporting of elapsed time for heap truncation steps in VACUUM VERBOSE
Changes
Fix reporting of elapsed time for heap truncation steps in VACUUM VERBOSE (Tatsuhito Kasahara) §
Related records (4)
- Same changePostgreSQL 11.8 · Fix reporting of elapsed time for heap truncation steps in VACUUM VERBOSE
- Same changePostgreSQL 10.13 · Fix reporting of elapsed time for heap truncation steps in VACUUM VERBOSE
- Same changePostgreSQL 9.6.18 · Fix reporting of elapsed time for heap truncation steps in VACUUM VERBOSE
- Same changePostgreSQL 9.5.22 · Fix reporting of elapsed time for heap truncation steps in VACUUM VERBOSE
Bug fixesFix possible undercounting of deleted B-tree index pages in VACUUM VERBOSE output
Changes
Fix possible undercounting of deleted B-tree index pages in VACUUM VERBOSE output (Peter Geoghegan) §
Related records (1)
Bug fixesFix wrong bookkeeping for oldest deleted page in a B-tree index
ImprovementsEnsure that TimelineHistoryRead and TimelineHistoryWrite wait states are reported in all code paths that read or write timeline history files
Changes
Ensure that TimelineHistoryRead and TimelineHistoryWrite wait states are reported in all code paths that read or write timeline history files (Masahiro Ikeda) §
Related records (2)
- Same changePostgreSQL 11.8 · Ensure that TimelineHistoryRead and TimelineHistoryWrite wait states are reported in all code paths that read or write timeline history files
- Same changePostgreSQL 10.13 · Ensure that TimelineHistoryRead and TimelineHistoryWrite wait states are reported in all code paths that read or write timeline history files
ImprovementsAvoid possibly showing “waiting” twice in a process's PS status
Changes
Avoid possibly showing “waiting” twice in a process's PS status (Masahiko Sawada) §
Related records (4)
- Same changePostgreSQL 11.8 · Avoid possibly showing “waiting” twice in a process's PS status
- Same changePostgreSQL 10.13 · Avoid possibly showing “waiting” twice in a process's PS status
- Same changePostgreSQL 9.6.18 · Avoid possibly showing "waiting" twice in a process's PS status
- Same changePostgreSQL 9.5.22 · Avoid possibly showing "waiting" twice in a process's PS status
ImprovementsAvoid race condition when ANALYZE replaces the catalog tuple for extended statistics data
Changes
Avoid race condition when ANALYZE replaces the catalog tuple for extended statistics data (Dean Rasheed) §
ImprovementsRemove ill-considered skip of “redundant” anti-wraparound vacuums
Changes
Remove ill-considered skip of “redundant” anti-wraparound vacuums (Michael Paquier) §
This avoids a corner case where autovacuum could get into a loop of repeatedly trying and then skipping the same vacuum job.
ImprovementsEnsure INCLUDE'd columns are always removed from B-tree pivot tuples
Changes
Ensure INCLUDE'd columns are always removed from B-tree pivot tuples (Peter Geoghegan) §
This mistake wasted space in some rare cases, but was otherwise harmless.
ImprovementsCope with invalid TOAST indexes that could be left over after a failed REINDEX CONCURRENTLY
Changes
Cope with invalid TOAST indexes that could be left over after a failed REINDEX CONCURRENTLY (Julien Rouhaud) §
ImprovementsEnsure that valid index dependencies are left behind after a failed REINDEX CONCURRENTLY
Changes
Ensure that valid index dependencies are left behind after a failed REINDEX CONCURRENTLY (Michael Paquier) §
Previously the old index could be left with no pg_depend links at all, so that for example it would not get dropped if the parent table is dropped.
ImprovementsAvoid failure if autovacuum tries to access a just-dropped temporary schema
Changes
Avoid failure if autovacuum tries to access a just-dropped temporary schema (Tom Lane) §
This hazard only arises if a superuser manually drops a temporary schema; which isn't normal practice, but should work.
Related records (1)
Bug fixesAvoid premature recycling of WAL segments during crash recovery
Changes
Avoid premature recycling of WAL segments during crash recovery (Jehan-Guillaume de Rorthais) § §
WAL segments that become ready to be archived during crash recovery were potentially recycled without being archived.
Related records (4)
- Same changePostgreSQL 11.8 · Avoid premature recycling of WAL segments during crash recovery
- Same changePostgreSQL 10.13 · Avoid premature recycling of WAL segments during crash recovery
- Same changePostgreSQL 9.6.18 · Avoid premature recycling of WAL segments during crash recovery
- Same changePostgreSQL 9.5.22 · Avoid premature recycling of WAL segments during crash recovery
ImprovementsAvoid scanning irrelevant timelines during archive recovery
Changes
Avoid scanning irrelevant timelines during archive recovery (Kyotaro Horiguchi) §
This can eliminate many attempts to fetch non-existent WAL files from archive storage, which is helpful if archive access is slow.
Related records (4)
- Same changePostgreSQL 11.8 · Avoid scanning irrelevant timelines during archive recovery
- Same changePostgreSQL 10.13 · Avoid scanning irrelevant timelines during archive recovery
- Same changePostgreSQL 9.6.18 · Avoid scanning irrelevant timelines during archive recovery
- Same changePostgreSQL 9.5.22 · Avoid scanning irrelevant timelines during archive recovery
ImprovementsRemove bogus “subtransaction logged without previous top-level txn record” error check in logical decoding
Changes
Remove bogus “subtransaction logged without previous top-level txn record” error check in logical decoding (Arseny Sher, Amit Kapila) §
This condition is legitimately reachable in various scenarios, so remove the check.
Related records (4)
- Same changePostgreSQL 11.8 · Remove bogus “subtransaction logged without previous top-level txn record” error check in logical decoding
- Same changePostgreSQL 10.13 · Remove bogus “subtransaction logged without previous top-level txn record” error check in logical decoding
- Same changePostgreSQL 9.6.18 · Remove bogus "subtransaction logged without previous top-level txn record" error check in logical decoding
- Same changePostgreSQL 9.5.22 · Remove bogus "subtransaction logged without previous top-level txn record" error check in logical decoding
ImprovementsAvoid possible failure after a replication slot copy, due to premature removal of WAL data
Changes
Avoid possible failure after a replication slot copy, due to premature removal of WAL data (Masahiko Sawada, Arseny Sher) §
ImprovementsEnsure that a replication slot's io_in_progress_lock is released in failure code paths
Changes
Ensure that a replication slot's io_in_progress_lock is released in failure code paths (Pavan Deolasee) § §
This could result in a walsender later becoming stuck waiting for the lock.
Related records (4)
- Same changePostgreSQL 11.8 · Ensure that a replication slot's io_in_progress_lock is released in failure code paths
- Same changePostgreSQL 10.13 · Ensure that a replication slot's io_in_progress_lock is released in failure code paths
- Same changePostgreSQL 9.6.18 · Ensure that a replication slot's io_in_progress_lock is released in failure code paths
- Same changePostgreSQL 9.5.22 · Ensure that a replication slot's io_in_progress_lock is released in failure code paths
ImprovementsEnsure that generated columns are correctly handled during updates issued by logical replication
Changes
Ensure that generated columns are correctly handled during updates issued by logical replication (Peter Eisentraut) §
Bug fixesFix race conditions in synchronous standby management
Changes
Fix race conditions in synchronous standby management (Tom Lane) §
During a change in the synchronous_standby_names setting, there was a window in which wrong decisions could be made about whether it is OK to release transactions that are waiting for synchronous commit. Another hazard for similarly wrong decisions existed if a walsender process exited and was immediately replaced by another.
ImprovementsAdd missing SQLSTATE values to a few error reports
Changes
Add missing SQLSTATE values to a few error reports (Sawada Masahiko) §
Related records (4)
- Same changePostgreSQL 11.8 · Add missing SQLSTATE values to a few error reports
- Same changePostgreSQL 10.13 · Add missing SQLSTATE values to a few error reports
- Same changePostgreSQL 9.6.18 · Add missing SQLSTATE values to a few error reports
- Same changePostgreSQL 9.5.22 · Add missing SQLSTATE values to a few error reports
Bug fixesFix PL/pgSQL to reliably refuse to execute an event trigger function as a plain function
Changes
Fix PL/pgSQL to reliably refuse to execute an event trigger function as a plain function (Tom Lane) §
Related records (4)
- Same changePostgreSQL 11.8 · Fix PL/pgSQL to reliably refuse to execute an event trigger function as a plain function
- Same changePostgreSQL 10.13 · Fix PL/pgSQL to reliably refuse to execute an event trigger function as a plain function
- Same changePostgreSQL 9.6.18 · Fix PL/pgSQL to reliably refuse to execute an event trigger function as a plain function
- Same changePostgreSQL 9.5.22 · Fix PL/pgSQL to reliably refuse to execute an event trigger function as a plain function
Bug fixesFix memory leak in libpq when using sslmode=verify-full
Changes
Fix memory leak in libpq when using sslmode=verify-full (Roman Peshkurov) §
Certificate verification during connection startup could leak some memory. This would become an issue if a client process opened many database connections during its lifetime.
Related records (4)
- Same changePostgreSQL 11.8 · Fix memory leak in libpq when using sslmode=verify-full
- Same changePostgreSQL 10.13 · Fix memory leak in libpq when using sslmode=verify-full
- Same changePostgreSQL 9.6.18 · Fix memory leak in libpq when using sslmode=verify-full
- Same changePostgreSQL 9.5.22 · Fix memory leak in libpq when using sslmode=verify-full
Bug fixesFix ecpg to treat an argument of just “-” as meaning “read from stdin” on all platforms
Changes
Fix ecpg to treat an argument of just “-” as meaning “read from stdin” on all platforms (Tom Lane) §
Related records (4)
- Same changePostgreSQL 11.8 · Fix ecpg to treat an argument of just “-” as meaning “read from stdin” on all platforms
- Same changePostgreSQL 10.13 · Fix ecpg to treat an argument of just “-” as meaning “read from stdin” on all platforms
- Same changePostgreSQL 9.6.18 · Fix ecpg to treat an argument of just "-" as meaning "read from stdin" on all platforms
- Same changePostgreSQL 9.5.22 · Fix ecpg to treat an argument of just "-" as meaning "read from stdin" on all platforms
Bug fixesFix crash in psql when attempting to re-establish a failed connection
Changes
Fix crash in psql when attempting to re-establish a failed connection (Michael Paquier) §
ImprovementsAllow tab-completion of the filename argument to psql's \gx command
Changes
Allow tab-completion of the filename argument to psql's \gx command (Vik Fearing) §
ImprovementsAdd pg_dump support for ALTER ... DEPENDS ON EXTENSION
Bug fixesFix pg_dump to dump comments on RLS policy objects
Changes
Fix pg_dump to dump comments on RLS policy objects (Tom Lane) §
Related records (4)
- Same changePostgreSQL 11.8 · Fix pg_dump to dump comments on RLS policy objects
- Same changePostgreSQL 10.13 · Fix pg_dump to dump comments on RLS policy objects
- Same changePostgreSQL 9.6.18 · Fix pg_dump to dump comments on RLS policy objects
- Same changePostgreSQL 9.5.22 · Fix pg_dump to dump comments on RLS policy objects
ImprovementsIn pg_dump, postpone restore of event triggers till the end
Changes
In pg_dump, postpone restore of event triggers till the end (Fabrízio de Royes Mello, Hamid Akhtar, Tom Lane) § §
This minimizes the risk that an event trigger could interfere with the restoration of other objects.
Related records (4)
- Same changePostgreSQL 11.8 · In pg_dump, postpone restore of event triggers till the end
- Same changePostgreSQL 10.13 · In pg_dump, postpone restore of event triggers till the end
- Same changePostgreSQL 9.6.18 · In pg_dump, postpone restore of event triggers till the end
- Same changePostgreSQL 9.5.22 · In pg_dump, postpone restore of event triggers till the end
ImprovementsEnsure that pg_basebackup generates valid tar files
Changes
Ensure that pg_basebackup generates valid tar files (Robert Haas) §
In some cases a partial block of zeroes would be added to the end of the file. While this seems to be harmless with common versions of tar, it's not OK per the POSIX file format spec.
ImprovementsMake pg_checksums skip tablespace subdirectories that belong to a different PostgreSQL major version
Changes
Make pg_checksums skip tablespace subdirectories that belong to a different PostgreSQL major version (Michael Banck, Bernd Helmle) §
Such subdirectories don't really belong to our database cluster, and so must not be processed.
ImprovementsIgnore temporary copies of pg_internal.init in pg_checksums and related programs
Changes
Ignore temporary copies of pg_internal.init in pg_checksums and related programs (Michael Paquier) §
Related records (1)
Bug fixesFix quoting of --encoding, --lc-ctype and --lc-collate values in createdb utility
Changes
Fix quoting of --encoding, --lc-ctype and --lc-collate values in createdb utility (Michael Paquier) § §
Related records (4)
- Same changePostgreSQL 11.8 · Fix quoting of --encoding, --lc-ctype and --lc-collate values in createdb utility
- Same changePostgreSQL 10.13 · Fix quoting of --encoding, --lc-ctype and --lc-collate values in createdb utility
- Same changePostgreSQL 9.6.18 · Fix quoting of --encoding, --lc-ctype and --lc-collate values in createdb utility
- Same changePostgreSQL 9.5.22 · Fix quoting of --encoding, --lc-ctype and --lc-collate values in createdb utility
Improvementscontrib/lo's lo_manage() function crashed if called directly rather than as a trigger
Changes
contrib/lo's lo_manage() function crashed if called directly rather than as a trigger (Tom Lane) §
Related records (4)
- Same changePostgreSQL 11.8 · contrib/lo's lo_manage() function crashed if called directly rather than as a trigger
- Same changePostgreSQL 10.13 · contrib/lo's lo_manage() function crashed if called directly rather than as a trigger
- Same changePostgreSQL 9.6.18 · contrib/lo's lo_manage() function crashed if called directly rather than as a trigger
- Same changePostgreSQL 9.5.22 · contrib/lo's lo_manage() function crashed if called directly rather than as a trigger
ImprovementsIn contrib/ltree, protect against overflow of ltree and lquery length fields
Changes
In contrib/ltree, protect against overflow of ltree and lquery length fields (Nikita Glukhov) §
Related records (4)
- Same changePostgreSQL 11.8 · In contrib/ltree, protect against overflow of ltree and lquery length fields
- Same changePostgreSQL 10.13 · In contrib/ltree, protect against overflow of ltree and lquery length fields
- Same changePostgreSQL 9.6.18 · In contrib/ltree, protect against overflow of ltree and lquery length fields
- Same changePostgreSQL 9.5.22 · In contrib/ltree, protect against overflow of ltree and lquery length fields
ImprovementsWork around failure in contrib/pageinspect's bt_metap() function when an oldest_xact value exceeds 2^31-1
Changes
Work around failure in contrib/pageinspect's bt_metap() function when an oldest_xact value exceeds 2^31-1 (Peter Geoghegan) §
Such XIDs will now be reported as negative integers, which isn't great but it beats throwing an error. v13 will widen the output argument to int8 to provide saner reporting.
Bug fixesFix cache reference leak in contrib/sepgsql
ImprovementsOn Windows, avoid premature creation of postmaster's log file during pg_ctl start
Changes
On Windows, avoid premature creation of postmaster's log file during pg_ctl start (Alexander Lakhin) §
The previous coding could allow the file to be created with permissions that wouldn't allow the postmaster to write on it.
ImprovementsAvoid failures when dealing with Unix-style locale names on Windows
Changes
Avoid failures when dealing with Unix-style locale names on Windows (Juan José Santamaría Flecha) §
Related records (4)
- Same changePostgreSQL 11.8 · Avoid failures when dealing with Unix-style locale names on Windows
- Same changePostgreSQL 10.13 · Avoid failures when dealing with Unix-style locale names on Windows
- Same changePostgreSQL 9.6.18 · Avoid failures when dealing with Unix-style locale names on Windows
- Same changePostgreSQL 9.5.22 · Avoid failures when dealing with Unix-style locale names on Windows
ImprovementsOn Windows, set console VT100 compatibility mode in programs that support PG_COLOR colorization
Changes
On Windows, set console VT100 compatibility mode in programs that support PG_COLOR colorization (Juan José Santamaría Flecha) §
Without this, the colorization option doesn't actually work.
ImprovementsStop requiring extra parentheses in ereport() calls
Changes
Stop requiring extra parentheses in ereport() calls (Andres Freund, Tom Lane) §
ImprovementsUse pkg-config, if available, to locate libxml2 during configure
Changes
Use pkg-config, if available, to locate libxml2 during configure (Hugh McMaster, Tom Lane, Peter Eisentraut) §
If pkg-config is not present or lacks knowledge of libxml2, we still query xml2-config as before.
This change could break build processes that try to make PostgreSQL use a non-default version of libxml2 by putting that version's xml2-config into the PATH. Instead, set XML2_CONFIG to point to the non-default xml2-config. That method will work with either older or newer PostgreSQL releases.
Bug fixesFix Makefile dependencies for libpq and ecpg
Changes
Fix Makefile dependencies for libpq and ecpg (Dagfinn Ilmari Mannsåker) §
ImprovementsIn MSVC builds, cope with spaces in the path name for Python
Changes
In MSVC builds, cope with spaces in the path name for Python (Victor Wagner) §
Related records (4)
- Same changePostgreSQL 11.8 · In MSVC builds, cope with spaces in the path name for Python
- Same changePostgreSQL 10.13 · In MSVC builds, cope with spaces in the path name for Python
- Same changePostgreSQL 9.6.18 · In MSVC builds, cope with spaces in the path name for Python
- Same changePostgreSQL 9.5.22 · In MSVC builds, cope with spaces in the path name for Python
Bug fixesIn MSVC builds, fix detection of Visual Studio version to work with more language settings
Changes
In MSVC builds, fix detection of Visual Studio version to work with more language settings (Andrew Dunstan) §
Related records (4)
- Same changePostgreSQL 11.8 · In MSVC builds, fix detection of Visual Studio version to work with more language settings
- Same changePostgreSQL 10.13 · In MSVC builds, fix detection of Visual Studio version to work with more language settings
- Same changePostgreSQL 9.6.18 · In MSVC builds, fix detection of Visual Studio version to work with more language settings
- Same changePostgreSQL 9.5.22 · In MSVC builds, fix detection of Visual Studio version to work with more language settings
ImprovementsIn MSVC builds, use -Wno-deprecated with bison versions newer than 3.0, as non-Windows builds already do
Changes
In MSVC builds, use -Wno-deprecated with bison versions newer than 3.0, as non-Windows builds already do (Andrew Dunstan) §
Related records (4)
- Same changePostgreSQL 11.8 · In MSVC builds, use -Wno-deprecated with bison versions newer than 3.0, as non-Windows builds already do
- Same changePostgreSQL 10.13 · In MSVC builds, use -Wno-deprecated with bison versions newer than 3.0, as non-Windows builds already do
- Same changePostgreSQL 9.6.18 · In MSVC builds, use -Wno-deprecated with bison versions newer than 3.0, as non-Windows builds already do
- Same changePostgreSQL 9.5.22 · In MSVC builds, use -Wno-deprecated with bison versions newer than 3.0, as non-Windows builds already do
ImprovementsUpdate time zone data files to tzdata release 2020a for DST law changes in Morocco and the Canadian Yukon, plus historical corrections for Shanghai.
Changes
Update time zone data files to tzdata release 2020a for DST law changes in Morocco and the Canadian Yukon, plus historical corrections for Shanghai. (Tom Lane) § § §
The America/Godthab zone has been renamed to America/Nuuk to reflect current English usage; however, the old name remains available as a compatibility link.
Also, update initdb's list of known Windows time zone names to include recent additions, improving the odds that it will correctly translate the system time zone setting on that platform.
Related records (4)
- Same changePostgreSQL 11.8 · Update time zone data files to tzdata release 2020a for DST law changes in Morocco and the Canadian Yukon, plus historical corrections for Shanghai.
- Same changePostgreSQL 10.13 · Update time zone data files to tzdata release 2020a for DST law changes in Morocco and the Canadian Yukon, plus historical corrections for Shanghai.
- Same changePostgreSQL 9.6.18 · Update time zone data files to tzdata release 2020a for DST law changes in Morocco and the Canadian Yukon, plus historical corrections for Shanghai.
- Same changePostgreSQL 9.5.22 · Update time zone data files to tzdata release 2020a for DST law changes in Morocco and the Canadian Yukon, plus historical corrections for Shanghai.
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.