PostgreSQL 19 Released
The PostgreSQL Global Development Group announced PostgreSQL 19 on November 19, 2026, describing the release as aimed at simplifying administration and development for mission-critical workloads at scale. The headline addition is the REPACK command, which reclaims space from tables that accumulate bloat through updates and deletes and can reorder a table's data to match an index. With REPACK (CONCURRENTLY), the source says this can be done without blocking reads or writes, addressing a tradeoff of VACUUM FULL and CLUSTER, which prevented access to the table until cleanup finished. REPACK replaces both commands, which remain available for compatibility. For query performance, PostgreSQL 19 adds the pg_plan_advice extension, which allows stabilization of plan choices and experimentation with different plans using a "plan advice" mini-language. A companion extension, pg_stash_advice, stores advice and automatically applies it to queries based on their query identifier, so a slow plan can be fixed without changing the application. The release also targets autovacuum on busy systems: autovacuum can now vacuum indexes using parallel workers, controlled by the new autovacuum_max_parallel_workers setting, and uses a new scoring system to decide which tables to process first. Queries that read a table can now automatically mark pages as all-visible in the visibility map during execution. The source also cites support for "read-your-writes" consistency on standbys and "get or create" behavior that saves a network round trip.
Developers get a non-blocking REPACK (CONCURRENTLY) for table maintenance and plan-advice extensions that let them stabilize slow query plans without changing application code.