PostgreSQL 19 delivers critical operational features directly to the database core that previously required brittle third-party tooling or complex application-level workarounds.
The headlining addition is the native REPACK command. Operating with a CONCURRENTLY modifier, it reorganizes on-disk heap storage and recovers space without blocking concurrent writes or reads. For engineering teams managing high-throughput production clusters, this removes reliance on external extensions like pg_repack that often induced catalog locks or replication lags.
Query optimization also receives a major architectural update via the pg_plan_advice and pg_stash_advice extensions. Engineers can now control query planner choices deterministically and stash plans automatically based on query fingerprints. Instead of rewriting queries or forcing global planner parameter tweaks to resolve edge-case misestimations, developers can target specific query shapes safely.
Distributed setups gain read-your-writes consistency across read standbys using the new WAIT primitive, alongside online logical replication enablement without restarting the database server.
These additions drastically simplify high-volume production operations and clarify long-standing architectural bottlenecks.









