PostgreSQL 19

388 points · 29 comments on HN · read original →

Points and comments are a snapshot, not live.

PostgreSQL 19 adds REPACK, plan advice, sequence replication, and read-your-writes on standbys.

PostgreSQL 19, releasing November 19, 2026, introduces a new REPACK command for reclaiming disk space, with a CONCURRENTLY option that does not block reads and writes. The pg_plan_advice and pg_stash_advice extensions help control and automate query planner decisions. Logical replication of sequence values is now supported, and logical replication can be enabled without a server restart when wal_level is replica. The new WAIT command enables read-your-writes consistency on standbys. Other features include parallel autovacuum of indexes, autovacuum prioritization via a scoring system, and better foreign-key check performance. Migration requires dump/restore or pg_upgrade.

What commenters are saying

Commenters praised REPACK CONCURRENTLY, logical replication of sequences, and the WAIT command for read-your-writes consistency as exciting additions, with one calling it one of the most exciting PostgreSQL releases. Some advised waiting for the .1 release before upgrading production systems, citing a bug that can crash EXPLAIN (BUFFERS) with auto_explain enabled, fixed only in 19.1. Others noted they stay a version or two behind due to upgrade complexity, while defenders argued that skipping major releases is fine and that new features do not force upgrades. A few commenters welcomed the change to disable JIT by default, citing poor performance impact.