
This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.
The PostgreSQL Global Development Group announced PostgreSQL 19 on 19 November 2026. The headline items are a REPACK (CONCURRENTLY) command that reclaims bloat without blocking reads and writes, and new extensions for stabilising query plans. There are also authentication changes that affect upgrade planning more than most releases.
What happened
According to the original announcement, REPACK replaces VACUUM FULL and CLUSTER (both remain for compatibility) and, in its concurrent form, reorganises a table without locking out traffic. Two new extensions, pg_plan_advice and pg_stash_advice, let you pin or experiment with planner choices and apply stored advice by query identifier, without touching application code.
Autovacuum gets parallel index vacuuming via autovacuum_max_parallel_workers and a scoring system for deciding which tables to process first. New views — pg_stat_lock, pg_stat_recovery, pg_stat_autovacuum_scores — plus an IO option for EXPLAIN ANALYZE give more visibility into what the server is actually doing.
On the distributed side, creating the first logical replication slot now raises the effective WAL level automatically, so no restart is needed; sequence values can be replicated; CREATE PUBLICATION gains an EXCEPT clause; and WAIT FOR LSN lets a session on a standby wait for replay up to a given LSN, which gives read-your-writes behaviour for applications that read from replicas.
For developers: INSERT ... ON CONFLICT DO SELECT covers the get-or-create pattern in one round trip, COPY can emit JSON, and window functions support IGNORE NULLS. Foreign key checks are faster — the announcement reports bulk inserts close to twice as fast in testing — and the planner adds eager aggregation and NOT IN to anti-join conversion.
Three changes need attention before you upgrade: RADIUS authentication support is removed, md5 password authentication now logs a warning after success and is slated for removal in a future release, and JIT compilation is disabled by default because its cost estimates proved unreliable. Default TOAST compression is now lz4 where LZ4 support is compiled in, and io_workers is replaced by io_min_workers and io_max_workers.
Why it matters
For smaller teams without a dedicated DBA, the operational items matter most. Bloat on a hot table previously meant a maintenance window or a third-party tool; REPACK (CONCURRENTLY) moves that into the core. Plan advice addresses a familiar failure mode — a query that was fine for a year suddenly chooses a worse plan after data growth — without hacks in the ORM layer. Avoiding a restart to enable logical replication removes a real obstacle to zero-downtime migrations between major versions.
The removals cut the other way. If an older deployment still uses RADIUS or md5 passwords, this is the release that forces the issue.
What to do
- Audit
pg_hba.confforradiusandmd5entries now, regardless of when you plan to upgrade. Move password authentication to SCRAM. - If you run analytical queries that benefited from JIT, measure them on 19 and re-enable JIT explicitly where it helps.
- Check configuration management for
io_workersand replace it with the new min/max settings before the upgrade. - Test the upgrade on a copy of production and read the release notes in full; the summary above is not exhaustive.