· rangkumin.tech

PostgreSQL 19 ships REPACK (CONCURRENTLY) and plan-stability extensions

The PostgreSQL Global Development Group released PostgreSQL 19 with a REPACK command that reclaims table space without blocking reads or writes. The release also adds pg_plan_advice for stabilising query plans and WAIT FOR LSN for read-your-writes consistency on standbys.

Why it matters

REPACK replaces VACUUM FULL and CLUSTER, both still available for compatibility. Autovacuum can now vacuum indexes with parallel workers using the new autovacuum_max_parallel_workers setting, and new views expose lock, recovery and autovacuum scoring statistics.

Creating the first logical replication slot now raises the effective WAL level automatically, avoiding the restart PostgreSQL previously often required. Logical replication of sequence values and an EXCEPT clause for publications are included, along with a retain_dead_tuples subscription option that detects updates conflicting with a concurrent delete.

Other changes affect operations: JIT compilation is now disabled by default because the cost estimates proved unreliable, SNI lets one server present different TLS certificates by hostname, and md5 password authentication now issues a warning. RADIUS authentication support was removed.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.