• Sources: primary
  • Thread: PostgreSQL 19 release
  • Summary: The PostgreSQL Global Development Group released PostgreSQL 19 on 2026-11-19. REPACK replaces VACUUM FULL and CLUSTER and with CONCURRENTLY reclaims bloat without blocking reads or writes, pg_plan_advice and pg_stash_advice pin query plans by query identifier, and WAIT FOR LSN lets a standby session wait until it has replayed a given WAL position. Creating the first logical replication slot now raises the effective WAL level without a restart, sequences replicate logically, JIT is off by default, lz4 becomes the default TOAST compression when built in, md5 authentication logs a warning, and RADIUS support is removed.
  • Why it matters: Upgrades need checks for RADIUS and md5 authentication and for analytic queries that relied on JIT, while REPACK CONCURRENTLY and WAIT FOR LSN remove blocking VACUUM FULL runs and hand-rolled replica lag checks.
  • Background: PostgreSQL uses MVCC, so updates and deletes leave dead row versions that plain VACUUM marks reusable without shrinking the table. VACUUM FULL and CLUSTER rewrite the table to reclaim space but hold an exclusive lock, which is why online rewrites lived in external extensions such as pg_repack. Streaming replicas replay the primary's write-ahead log asynchronously, and an LSN is a byte position in that log, so a read sent to a standby can miss a write just committed on the primary. PostgreSQL 18 introduced the asynchronous I/O subsystem that 19 now tunes with automatic worker scaling.
  • Follow-up: CloudNativePG operand images for PostgreSQL 19 and the first 19.x minor release.