
The PostgreSQL Global Development Group released PostgreSQL 19 on November 19, in the project's 30th year as an open-source database. The release arrives roughly two months behind the project's usual September window, and it is a practical, operations-focused upgrade: less downtime for maintenance, steadier query plans, and easier replication. Independent developer commentary from Simon Willison, published the same day, confirms the date and singles out the replica-consistency feature as the standout.
If you self-host, you probably already run Postgres whether you think about it or not — it is the database underneath apps like Immich, Paperless-ngx, and Nextcloud. This release changes nothing about those apps today, but it sets the terms for the next round of upgrades, so it is worth understanding before any prompt tells you a new version exists.
PostgreSQL 19 was first scheduled for late October, then pushed back when the release team added a second release candidate and moved general availability to November 19 — a timeline confirmed by Neon's same-day release rundown. The deeper cause, reported by The Register's Lindsay Clark on October 16, was an unusual combination: LLM-assisted code review surfaced a long tail of edge-case defects faster than human committers could process them, and eight to ten significant features were reverted to PostgreSQL 20 after reviewers found architectural problems too risky to fix during beta.
One of the pulled features was support for SQL Property Graph Queries (SQL/PGQ), the graph-pattern-matching syntax added to the SQL standard in 2023. PostgreSQL contributor Tom Lane's verdict, quoted in The Register's report, was blunt enough to end the debate. EDB vice president and leading committer Peter Eisentraut stressed the reverts were not caused by AI-written code — the features predated useful code-generation tooling — but by AI-assisted review raising the quality bar after the code was already committed, leaving developers, in his words, "staring at a list of forty defect reports."
The practical upshot for self-hosters: the delay bought scrutiny rather than features, and the release notes read like a list of things that are hard to get wrong in production.
Per the official announcement and the full release notes:
VACUUM FULL and CLUSTER, lock the table for the whole operation. REPACK rebuilds the table and can reorder rows to match an index, and the concurrent variant keeps reads and writes flowing through most of the work by capturing changes through logical decoding, taking a full lock only for a typically brief final swap. Both older commands remain available. Neon's rundown adds an operational caveat worth knowing before you try it: concurrent repacking needs a primary key or suitable replica identity, spare capacity under max_repack_replication_slots, and temporary disk space for a full copy of the table plus its indexes.pg_plan_advice extension adds a mini-language for describing, reproducing, and constraining planner decisions, and the companion pg_stash_advice extension stores advice and applies it automatically by query identifier — so a critical query can keep its proven plan with no application changes.autovacuum_max_parallel_workers, a scoring system prioritizes the tables that need attention first, and new monitoring views (pg_stat_lock, pg_stat_recovery, pg_stat_autovacuum_scores) expose what maintenance is doing and why.logical automatically — visible via the new effective_wal_level setting — so enabling logical replication no longer needs a server restart. Publications can replicate all sequences, exclude tables with an EXCEPT clause, and subscriptions can pull connection settings from a postgres_fdw foreign server.WAIT FOR LSN command lets a session on a standby wait until the replica has replayed the write-ahead log up to a given log sequence number before reading. An app can commit on the primary, hand the LSN to the next request, and read from a replica without serving stale data to the user who just wrote it. Willison's writeup walks through the pattern with a signed-cookie sketch and notes Wikipedia's hand-rolled MySQL equivalent as prior art.INSERT ... ON CONFLICT DO SELECT returns conflicting rows through RETURNING, simplifying get-or-create logic; COPY can emit JSON; the SQL/JSON path language gains string methods; five window functions accept IGNORE NULLS; and random() can generate dates and timestamps in a range for test data.Vendor-tested performance claims, flagged as unreproduced here: bulk inserts run nearly twice as fast thanks to quicker foreign-key checks, and the planner converts more NOT IN clauses into efficient anti-joins. Phoronix's same-day release note confirms the headline items and says its own benchmarks are coming — worth watching before taking any speedup number seriously.
A major Postgres upgrade always requires a dump and restore, pg_upgrade, or logical replication — there is no in-place binary swap, per the migration section of the release notes. Version 19 also removes or tightens several old behaviors: RADIUS authentication support is gone, standard_conforming_strings is now forced on server-side (old dumps taken with it off will not restore cleanly), successful md5 logins now emit a warning ahead of that method's future removal, and just-in-time compilation is now off by default because its cost estimates proved unreliable.
For homelabbers, three things follow:
library/postgres tags on Docker Hub at publication time: the newest 19-series tags are 19rc2 builds refreshed November 18–19, with no final 19 tag published. If your deployment pulls postgres:19, confirm the GA tag exists before you recreate anything — release-candidate images are for testing, not for data you care about.Postgres 18 reaches the point where many self-hosters will sit one major version behind within the usual support window, and Postgres 19's headline features are precisely the ones that make skipping versions safer: less disruptive maintenance, steadier plans, and replication that is easier to set up. That makes this a good release to plan around — from a backup you have tested.
Log in to comment.