PostgreSQL 19: uninterrupted maintenance and more flexible replication
www.postgresql.org
PostgreSQL 19 reduces maintenance downtime with REPACK (CONCURRENTLY), which reclaims unused space and reorganizes tables without blocking reads or writes. The release also adds tools to stabilize query plans and monitor workloads more closely.
For replication, WAIT FOR LSN lets a session on a standby wait for a write to be replayed before querying, enabling “read-your-writes” consistency. The release also adds INSERT ... ON CONFLICT DO SELECT to simplify “get or create” operations.
