PostgreSQL 19: Performance Boost Offset by Breaking Changes
PostgreSQL 19 arrived on November 19, 2026, bringing performance improvements and new operational features alongside significant compatibility-breaking changes. The release introduces a REPACK command that reclaims disk space and reorganizes tables without blocking reads and writes. Query planner extensions allow teams to control and automate optimization decisions, while I/O worker scaling and faster foreign-key validation improve throughput. Logical replication gains the ability to function without server restarts and can now replicate sequence values, and standbys can provide read-your-writes consistency via a new WAIT command.
The release tightens security and consistency requirements considerably. RADIUS authentication was removed entirely due to UDP’s inherent insecurity, while MD5 passwords now trigger deprecation warnings. The server enforces standard-conforming string handling, disallows problematic characters in database names, and revises default index types for certain data formats. JIT compilation is now disabled by default—a significant reversal that will require manual configuration for analytical workloads previously relying on automatic JIT activation.
Teams upgrading must choose between full dump and restore, pg_upgrade, or logical replication. The extensive compatibility breaks—spanning lock allocation, wait event naming, full-text search behavior, and function semantics—demand thorough testing in staging environments before production migration.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.