The PostgreSQL Global Development Group released PostgreSQL 19 in November 2026, adding a command that reorganizes tables without blocking reads or writes and two extensions that let administrators steer query plans without changing application code. Simon Willison, writing on his link blog, said the release came about two months later than the project's usual September schedule.
The release touches database maintenance, query planning, replication and application development. Its focus is reducing administrative overhead and improving performance. The headline additions are tools for reorganizing tables without downtime and for controlling query plans.
REPACK reorganizes tables while reads and writes continue
One of the main additions is REPACK, which reclaims unused table space and can reorder data to match an index. Its CONCURRENTLY option allows the operation to run without blocking reads or writes.
The command's documented capabilities, as reported:
Reclaims unused table space
Reorders data to match an index
Runs without blocking reads or writes when CONCURRENTLY is used
Serves as a potential replacement for common uses of VACUUM FULL and CLUSTER
The word "potential" matters here. The report positions REPACK as a possible substitute for those two older operations, not a confirmed replacement for every case.
Standby sessions gain read-your-writes through WAIT FOR LSN
PostgreSQL 19 adds read-your-writes consistency for applications that send reads to standbys, using the new WAIT FOR LSN command. A session on a standby can wait until the standby has replayed write-ahead log up to a specific log sequence number (LSN) before running its query.
Willison walks through the pattern in three steps:
Run the UPDATE on the primary, then call SELECT pg_current_wal_insert_lsn();, which returns a value such as 0/0306EE20.
Store that value, for example in a signed cookie.
On a later request, run WAIT FOR LSN '0/0306EE20' WITH (TIMEOUT '0.1s'); and then the read query.
The timeout is optional. If one is set, the command returns an error when the standby has not replayed that far before the timeout expires.
Willison said he first encountered the pattern at Wikipedia, which runs a hand-rolled version of it against MySQL replication. He wrote that a few seconds of lag can be tolerated, as long as the user sees a consistent picture from subsequent requests.
Plan-control extensions and maintenance changes
PostgreSQL 19 also introduces two extensions for query planning. pg_plan_advice lets administrators influence query plan selection. pg_stash_advice applies stored advice to queries by identifier, again without changing application code.
The release's other maintenance changes, as the InfoQ report lists them, include:
Parallel index vacuuming
Changes to autovacuum prioritization
Additional monitoring views
EXPLAIN ANALYZE and related logging that now report asynchronous I/O activity
EXPLAIN ANALYZE and related logging that now report WAL generated for full-page images
The report also says that changes to foreign key checks made bulk inserts nearly twice as fast in testing.
Release timing and the .1 caution
Willison wrote that PostgreSQL usually ships in September, but this year's release came two months later. He attributed the delay mainly to a flurry of issues the team needed to address during what he called the "ongoing AI-reported vulnerability apocalypse." He said the release was "definitely worth the wait."
The InfoQ article's author adds a caution. Personally, the author says, for critical production systems it is still good to wait for the .1 release.