PostgreSQL 19 arrives with online table repacking and plan control
The open source database adds REPACK (CONCURRENTLY) to tidy tables without blocking, a pg_plan_advice extension for stable queries, and JIT now off by default.
EDITOR | Thursday 19 November 2026 | World

The PostgreSQL Global Development Group has released PostgreSQL 19. The group says it is aimed at simplifying administration and development for mission-critical workloads at scale.
The new REPACK command reclaims wasted space and can reorder a table to match an index. It replaces VACUUM FULL and CLUSTER, which remain available. With REPACK (CONCURRENTLY), it runs without blocking reads or writes. The pg_plan_advice extension gives users control over query plan stability, and pg_stash_advice can apply that advice by query identifier to fix a slow plan without changing an application.
Autovacuum, the background cleanup process, can now vacuum indexes with parallel workers and uses a new scoring system to prioritise tables. Foreign key checks are faster, and the project says bulk inserts were nearly 2x faster in testing.
Developers get INSERT ... ON CONFLICT DO SELECT, JSON output from COPY, and IGNORE NULLS for several window functions. Logical replication gains sequence replication, and WAIT FOR LSN lets a session wait until a standby has caught up.
Servers can now present different TLS certificates by hostname. The md5 password method now triggers a warning after successful use, and the project recommends SCRAM. RADIUS authentication support has been removed. JIT is disabled by default because its cost estimates proved unreliable.