Sébastien Rigaux

PostgreSQL 19: uninterrupted maintenance and more flexible replication

View resource

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.

Blue and white PostgreSQL logo depicting a stylized elephant on a black background.