PostgreSQL 19 is out: REPACK CONCURRENTLY, plan advice and WAIT FOR LSN
The PostgreSQL Global Development Group released PostgreSQL 19 on 19 November. The headline for operators is the new REPACK command, which reclaims the space left behind by updates and deletes and can reorder a table to match an index. With REPACK (CONCURRENTLY) it does this without blocking reads or writes. REPACK replaces VACUUM FULL and CLUSTER, which stay available for compatibility.
The second addition targets plan regressions. The new pg_plan_advice extension lets users pin plan choices and experiment with alternatives through a "plan advice" mini-language, and the companion pg_stash_advice stores advice and applies it automatically by query identifier, so a slow plan can be fixed without touching the application. Autovacuum can now process indexes with parallel workers, set by autovacuum_max_parallel_workers, and picks tables through a new scoring system that the pg_stat_autovacuum_scores view exposes.
For replicated setups, creating the first logical replication slot now raises the effective WAL level to logical automatically, so enabling logical replication no longer needs a restart. Sequence values can be published with FOR ALL SEQUENCES, and CREATE PUBLICATION ... FOR ALL TABLES gains an EXCEPT clause. Applications that read from standbys get read-your-writes consistency through WAIT FOR LSN, which holds a query until the standby has replayed the WAL up to a given log sequence number. On the developer side, INSERT ... ON CONFLICT DO SELECT returns the existing conflicting rows through RETURNING, saving a round trip in "get or create" code.

Why it matters
Until now the clean ways to remove table bloat locked the table. A concurrent built-in command moves that job from a maintenance window, or a third-party extension, into normal operation.