Ahsan Hadi: PostgreSQL 19 Is Here: Worth the Wait pgedge.com · 7 points · 1 comm...
HN Best 200 @best
Ahsan Hadi: PostgreSQL 19 Is Here: Worth the Wait pgedge.com · 7 points · 1 comments · HN thread
TL;DR pgEdge announces that PostgreSQL 19 is released and that its packages and Spock support are available the same day. The post, by Ahsan Hadi, highlights REPACK replacing VACUUM FULL and CLUSTER, logical replication improvements such as ALL SEQUENCES, and changed defaults that affect upgrades.
- REPACK CONCURRENTLY rebuilds bloated tables without blocking reads and writes; in the author's test, inserts ran at about 2,000 per second with no failed transactions during a sub-second rebuild.
- REPACK needs a primary key or replica identity index and is not MVCC safe for transactions that started before the swap.
- Logical replication adds ALL SEQUENCES and REFRESH SEQUENCES, enabling without restart when wal_level is replica, retain_dead_tuples for subscriptions, and EXCEPT for publications.
- Parallel autovacuum on indexes, table ranking by score, and a WAIT command for read-your-writes consistency on standbys are among the operations changes.
- Changed defaults to check before upgrading: JIT is off, max_locks_per_transaction is 128, and sync_error_count is renamed sync_table_error_count.
- Post also notes November 12 minor releases fixing 52 security issues and incremental backup corruption, and that PostgreSQL 14 has reached end of life.
Discussion The thread is very small: a single comment noting that the commenter's work is still on PostgreSQL 16 and that they will plan the move to 19 around the time 21 is released. The mood is casual and resigned rather than debating the release.
- Slow adoption; upgrading only well after new releases (a few): The one commenter says their team runs PostgreSQL 16 and will start planning the 19 upgrade only around the time version 21 arrives, implying a multi-version lag typical of cautious production shops.