PostgreSQL 19 postgresql.org · 317 points · 21 comments · HN thread TL;DR Postgr...

@best30

PostgreSQL 19 postgresql.org · 317 points · 21 comments · HN thread

TL;DR PostgreSQL 19 release notes, dated 2026-11-19, list new features such as a REPACK command that can rebuild tables without blocking reads and writes, WAIT for read-your-writes on standbys, logical replication of sequences, and new planner-advice extensions. The release also makes several breaking changes, including JIT disabled by default, RADIUS removed, and standard_conforming_strings forced on.

  • New REPACK command replaces VACUUM FULL and CLUSTER; REPACK (CONCURRENTLY) rebuilds tables without access-exclusive locking.
  • New WAIT command lets standbys wait for an LSN to be written, flushed, or replayed, enabling read-your-writes consistency.
  • Sequence values can now be replicated logically, and CREATE/ALTER PUBLICATION can publish all sequences.
  • pg_plan_advice and pg_stash_advice extensions control planner decisions, with the latter applying advice per query ID.
  • Breaking changes include JIT disabled by default, max_locks_per_transaction raised to 128, RADIUS support removed, and default TOAST compression switched from pglz to lz4.
  • Upgrades from earlier releases still require pg_dumpall, pg_upgrade, or logical replication; some collation and full-text changes recommend reindexing.

Discussion The thread is largely enthusiastic, with commenters praising REPACK CONCURRENTLY, sequence replication and WAIT for read replicas, and thanking contributors. The main counterpoint is that many organizations are still on older major versions, so new releases feel like feature creep for conservative operators. A smaller strand discusses whether to adopt 19.0 or wait for 19.1, prompted by a late revert of SQL/PGQ and ongoing bug fixes. The JIT default change also drew comments about its past performance problems.

  • Excited; major release with valuable features (many): Several commenters call PostgreSQL 19 one of the most exciting releases, highlighting REPACK CONCURRENTLY, sequence replication and WAIT FOR LSN for read-after-write across replicas.
  • Wait for .1 before production upgrades (some): Commenters advise testing in staging and waiting for 19.1 (expected February 2027), since late reverts and bugfixes such as an EXPLAIN crash show the release is not fully settled.
  • Too many major versions; slow down the pace (some): Some users say most companies have not yet adopted pg17 or pg18 and would prefer fewer major releases, with features shipped in point releases instead.
  • Rejects the pace criticism; old versions remain supported (a few): Others reply that users can simply stay on older supported versions and that the backlog of requested features is a good thing to ship.
  • JIT default change was overdue (a few): One commenter says JIT hurt well-tuned queries badly and that many PostGIS-based OSM apps already disable it; another questions whether copy-and-patch JITs have proven successful.

#PostgreSQL #databases #release #replication #queryplanner #SQL