VersionDrift
Product

PostgreSQL 18.7 → 19.0

1 release · 6 breaking changes · 1 security fix · 0 advisories fixed

1security6breaking2deprecated31feature0fix

Breaking changes

  • breaking Remove RADIUS support (Thomas Munro) PostgreSQL only supported RADIUS over UDP, which is unfixably insecure. in 19.0
  • breaking Force standard_conforming_strings to always be on in the database server (Tom Lane) Dumps created using pre-PostgreSQL 19 versions of pg_dump or pg_dumpall, and using standard_conforming_strings = off, will not properly load into PostgreSQL 19 and later servers. Users should create dumps using… in 19.0
  • breaking Remove server variable io_workers (Thomas Munro) This has been replaced by four new variables; see Section E.1.3.1.2. in 19.0
  • breaking Remove wait event BufferContent and add more precise wait events BufferShared, BufferShareExclusive, and BufferExclusive (Andres Freund) in 19.0
  • breaking Remove optimizer hook get_relation_info_hook and add better-placed hook build_simple_rel_hook (Robert Haas) in 19.0
  • breaking Remove MULE_INTERNAL encoding (Thomas Munro) This encoding was complex and rarely used. Databases using it will need to be dumped and restored with a different encoding. in 19.0

Security changes

  • security Disallow carriage returns and line feeds in database, role, and tablespace names (Mahendra Singh Thalor) pg_upgrade will also disallow upgrading of clusters that use such names. This was changed to avoid security problems. in 19.0

Deprecations

  • deprecated Issue a warning after successful MD5 password authentication (Nathan Bossart) The warning can be disabled via server variable md5_password_warnings. MD5 passwords were marked as deprecated in PostgreSQL 18. in 19.0
  • deprecated Allow pg_verifybackup to read WAL files stored in tar archives (Amul Sul) Add option --wal-path as an alias for the existing and deprecated --wal-directory option. in 19.0

Every release in between

19.0 Nov 19, 2026 Release notes ↗
featureNew REPACK command that reclaims disk space and reorganizes table contents, which can improve query performance. REPACK (CONCURRENTLY) allows repacking without blocking reads and writes to the table.
featureSupport for “read-your-writes” consistency on standbys via the new WAIT command.
featureParallel autovacuum of table indexes and autovacuum prioritization through a new scoring system.
featureAdd server variable password_expiration_warning_threshold to warn about password expiration (Gilles Darold, Nathan Bossart) The default warning period is seven days.
deprecatedIssue a warning after successful MD5 password authentication (Nathan Bossart) The warning can be disabled via server variable md5_password_warnings. MD5 passwords were marked as deprecated in PostgreSQL 18.
breakingRemove RADIUS support (Thomas Munro) PostgreSQL only supported RADIUS over UDP, which is unfixably insecure.
breakingForce standard_conforming_strings to always be on in the database server (Tom Lane) Dumps created using pre-PostgreSQL 19 versions of pg_dump or pg_dumpall, and using standard_conforming_strings = off, will not properly load into PostgreSQL 19 and later servers. Users should create dumps using…
securityDisallow carriage returns and line feeds in database, role, and tablespace names (Mahendra Singh Thalor) pg_upgrade will also disallow upgrading of clusters that use such names. This was changed to avoid security problems.
breakingRemove server variable io_workers (Thomas Munro) This has been replaced by four new variables; see Section E.1.3.1.2.
breakingRemove wait event BufferContent and add more precise wait events BufferShared, BufferShareExclusive, and BufferExclusive (Andres Freund)
breakingRemove optimizer hook get_relation_info_hook and add better-placed hook build_simple_rel_hook (Robert Haas)
breakingRemove MULE_INTERNAL encoding (Thomas Munro) This encoding was complex and rarely used. Databases using it will need to be dumped and restored with a different encoding.
featureAllow NOT IN clauses to be converted to more efficient ANTI JOINs when NULLs are not present (Richard Guo)
featureAllow more LEFT JOINs to be converted to ANTI JOINs (Tender Wang, Richard Guo)
featureAllow use of Memoize for ANTI JOINs with unique inner sides (Richard Guo)
featureAllow some aggregate processing to be performed before joins (Richard Guo, Antonin Houska) This can reduce the number of rows needed to be processed.
featureAllow Append and MergeAppend to consider explicit incremental sorts (Richard Guo)
featurePerform earlier constant folding of var IS [NOT] NULL in the optimizer (Richard Guo) This allows for later optimizations.
featureAdd proper optimizer statistics for functions returning boolean values (Tom Lane)
featureAllow extended statistics on virtual generated columns (Yugo Nagata)
featureAllow function pg_restore_extended_stats() to restore optimizer extended statistics (Corey Huinker, Michael Paquier, Chao Li)
featureAdd function pg_clear_extended_stats() to remove extended statistics (Corey Huinker, Michael Paquier)
featureAllow negative values of pg_aggregate.aggtransspace to indicate unbounded memory usage (Richard Guo) This information is used by the optimizer in planning memory usage.
featureAllow io_method method worker to automatically control needed background workers (Thomas Munro) The new server variables are io_min_workers, io_max_workers, io_worker_idle_timeout, and io_worker_launch_interval.
featureAllow query table scans to mark pages as all-visible in the visibility map (Melanie Plageman) Previously only VACUUM and COPY ... FREEZE could do this.
featureAllow autovacuum to use parallel autovacuum workers (Daniil Davydov) The maximum number of workers is controlled by server variable autovacuum_max_parallel_workers and per-table storage parameter autovacuum_parallel_workers.
featureAllow TID Range Scans to be parallelized (Cary Huang, David Rowley)
featureAdd system view pg_stat_lock and function pg_stat_get_lock() to report per-lock-type statistics (Bertrand Drouvot)
featureAdd system view pg_stat_recovery to report recovery status (Xuneng Zhou, Shinya Kato)
featureAdd system view pg_stat_progress_repack to report the progress of REPACK, CLUSTER, and VACUUM FULL (Álvaro Herrera)
featureAdd system view pg_stat_autovacuum_scores to report per-table autovacuum details (Sami Imseih)
featureAdd vacuum initiation details to system view pg_stat_progress_vacuum (Shinya Kato) The new started_by column reports the initiator of the vacuum, and mode indicates its aggressiveness.
featureAdd analyze initiation details to system view pg_stat_progress_analyze (Shinya Kato) The new started_by column reports the initiator of the analyze.
featureAdd system view pg_dsm_registry_allocations to report dynamic shared memory details (Florents Tselai, Nathan Bossart)
featureAdd mem_exceeded_count column to system view pg_stat_replication_slots (Bertrand Drouvot) This reports the number of times that logical_decoding_work_mem was exceeded.
featureAdd slot synchronization skip information to pg_stat_replication_slots and pg_replication_slots (Shlok Kyal) The new columns are slotsync_skip_count, slotsync_last_skip, and slotsync_skip_reason.
featureAdd update_deleted column to system view pg_stat_subscription_stats (Zhijie Hou) This reports the number of rows where updates were ignored due to concurrent deletes. This requires the subscriber have retain_dead_tuples enabled.
featureAdd sync_seq_error_count column to system view pg_stat_subscription_stats to report sequence synchronization errors (Vignesh C)
featureAdd stats_reset column to system views pg_stat_all_tables, pg_stat_all_indexes, and pg_statio_all_sequences (Bertrand Drouvot, Sami Imseih, Shihao Zhong) It also appears in the sys and user view variants.
deprecatedAllow pg_verifybackup to read WAL files stored in tar archives (Amul Sul) Add option --wal-path as an alias for the existing and deprecated --wal-directory option.
+167 more items in the release notes
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status