PostgreSQL 19 cover

The PostgreSQL project shipped version 19 on November 19, 2026. The headline features are a table-cleanup command that does not lock your tables, a way to pin down query plans without touching application code, and a handful of defaults that changed. One of those changes, the removal of RADIUS authentication, can break a setup on upgrade.

There is also a calendar fact worth knowing before you read any feature list: PostgreSQL 14 reached its final release on November 12, 2026. If you still run it, the clock has already run out.

PostgreSQL 19 at a glance

The big three features

REPACK. Tables with many updates and deletes collect unused space, known as bloat. The old fixes, VACUUM FULL and CLUSTER, blocked access to the table while they worked. According to the official announcement, the new REPACK command reclaims the space and can reorder rows to match an index, and REPACK (CONCURRENTLY) does it without blocking reads or writes. VACUUM FULL and CLUSTER remain available for compatibility.

Plan advice. The query planner usually picks a good plan, but plans can change as data changes, and the new one is sometimes slower. The new pg_plan_advice extension lets you stabilize plan choices and try alternatives using a small "plan advice" language. A companion extension, pg_stash_advice, stores that advice and applies it automatically by query identifier, so a slow plan can be fixed without changing the application.

Read-your-writes on standbys. Apps that send reads to a standby can now use WAIT FOR LSN to wait until the standby has replayed the log up to a given position before querying. That lets the app read data it just wrote on the primary.

Smaller changes developers will notice

  • INSERT ... ON CONFLICT DO SELECT returns the existing row on a conflict, which covers the common "get or create" pattern in one round trip.
  • COPY can output JSON, including a single JSON array.
  • The window functions lead(), lag(), first_value(), last_value() and nth_value() can skip NULLs with IGNORE NULLS.
  • Logical replication can now carry sequence values, and the server raises its WAL level to logical automatically when you create the first logical replication slot, so that step no longer needs a restart.
  • Autovacuum can vacuum indexes with parallel workers and uses a scoring system to pick which tables to process first.
  • Foreign-key check performance improved. The project says bulk inserts were nearly 2x faster in its testing. That is the project's own figure, from its own test setup, so treat it as a ceiling to check against your own workload.

How long each PostgreSQL major version is supported

Check these before you upgrade

The Release 19 notes list the incompatibilities. Several matter:

  • RADIUS authentication is removed. The notes say PostgreSQL only supported RADIUS over UDP, which is "unfixably insecure."
  • MD5 passwords now trigger a warning after a successful login. MD5 was deprecated in version 18. The announcement recommends SCRAM, and the warning can be turned off with md5_password_warnings.
  • JIT is off by default. The notes say the cost estimates used to decide when to compile queries proved unreliable. If you run many large analytical queries, you may want to switch it back on and measure.
  • standard_conforming_strings is always on. Dumps made with older tools and that setting off will not load into 19 properly.
  • The default TOAST compression is now lz4 when PostgreSQL is built with LZ4 support.
  • A json_array() call that returns no rows now returns an empty JSON array instead of NULL.
  • Moving from any earlier major version needs a dump and restore, pg_upgrade, or logical replication.

The support calendar

The project's versioning policy page lists each major version's first and final release dates. Version 19 is supported until November 19, 2031. Version 18, released September 25, 2025, runs to November 14, 2030. Version 15 ends on November 11, 2027, which is under a year away. Versions 13 and 14 are already past their final release, on November 13, 2025 and November 12, 2026.

That gives a plain rule of thumb. If you are on 14 or older, plan the move now. If you are on 15, put an upgrade on next year's calendar. If you are on 16, 17 or 18, there is no deadline, and the question is whether REPACK, plan advice or the replication changes solve a problem you have.

What we did not verify

We read the project's announcement, release notes and versioning page. We did not run PostgreSQL 19 or benchmark it, so performance claims here are the project's, not ours. The notes also contain many more changes than we list.

Sources

Originally published on The Weekly Signal.