Skip to content
trendoviz

PostgreSQL 19 Adds Built-In Table Repacking and Replica Waits

PostgreSQL 19 reached general availability on November 19, 2026, roughly a month after the project's usual September-to-October release window, with four operational features aimed at table bloat, query-plan stability, replica consistency and sequence replication. Databricks engineers who worked on the release attribute the schedule slip to a shift in contributor time toward fixing a larger volume of bugs and security issues.

Published
  • 9 min read
  • 3 sources cited
  • For Developers, Businesses, AI makers, AI enthusiasts

Overview

PostgreSQL 19 reached general availability on November 19, 2026, and Databricks made it available on Lakebase the same day; users can select version 19 when creating a new Lakebase project. Databricks describes the release as focused on operational control rather than a single headline feature, addressing bloated tables, unstable query plans, replica lag, incomplete statistics and production maintenance.

The release adds four named capabilities: REPACK for rebuilding bloated tables while reads and writes continue, query plan advice for stabilizing plans without changing application SQL, WAIT FOR LSN for read-your-writes behavior on replicas, and logical replication support for synchronizing sequences.

The release arrived later than the project's normal schedule. Databricks reports that PostgreSQL 19 shipped about a month after the usual September-to-October window, while Simon Willison describes it as coming two months later than a usual September release. Both connect the delay to a larger issue backlog. Databricks, whose engineers describe themselves as PostgreSQL contributors and committers, attributes it to the project's focus on quality and to contributors redirecting time from reviewing new features to fixing bugs. Willison, writing as a user, attributes it mainly to the volume of issues the team had to address amid what he calls an AI-reported vulnerability wave.

Databricks reports that from around February 2026, AI made bugs and security issues easier to find. CVEs fixed per quarterly update release rose from one to four and then to as many as 28 by August 2026, while commits back-patched to the release branch increased 61%. The identity of the AI tools used, and how many of those CVEs were AI-discovered, are not specified.

Willison highlights WAIT FOR LSN as his preferred feature, describing it as allowing a session on a standby to wait until the standby has replayed the write-ahead log to a specified point. The Databricks availability post confirms the command is part of PostgreSQL 19. Two other entries in the source set repeat the Databricks posts on the delayed release and on Lakebase availability without adding distinct information.

Why it matters

For developers: WAIT FOR LSN lets a session on a standby wait until the write-ahead log has been replayed to a specified point, which supports read-your-writes behavior when reads are routed to replicas. Logical replication can now synchronize sequences, reducing a common source of migration friction. Query plan advice can stabilize a plan for a critical query without changing application SQL, giving operators a database-level remedy for plans that regress after an upgrade or a statistics change.

For database and platform teams: REPACK is now built into PostgreSQL. It reclaims space like VACUUM FULL and, with USING INDEX, physically orders rows like CLUSTER. With CONCURRENTLY, the table is rebuilt while normal reads and writes continue, and the operation briefly takes an ACCESS EXCLUSIVE lock to apply captured changes and swap files. That changes the operating model for bloated tables on busy systems, though it does not make the operation lock-free. Concurrent repacking also creates an additional replication slot for the duration, requires free capacity under max_repack_replication_slots, and needs a table with a non-deferrable primary key or a suitable index-based replica identity.

For the AI development stack: the release cycle itself is the AI-relevant signal. Databricks engineers who describe themselves as PostgreSQL contributors and committers say AI-assisted discovery made bugs and security issues easier to find starting around February 2026, and that contributor time shifted from reviewing new features to fixing them. If that pattern holds in other open-source projects, teams that ship AI systems will face the same trade-off: faster bug detection does not translate into faster remediation, because fixes still need human review and testing.

For managed-service users: Databricks made PostgreSQL 19 available on Lakebase on November 19, 2026, the same day it reached general availability, and says users can select version 19 when creating a new Lakebase project. It notes that new major versions often take weeks to reach other managed PostgreSQL services.

Context

A PostgreSQL major release normally follows a predictable annual cycle of 14 to 15 months from first commits to general availability. Development is organized around five commitfests in July, September, November, January and March/April; feature freeze follows the last one in April. Beta 1 typically ships in May, the release branch is cut in June around Beta 2, a release candidate follows in September, and general availability happens in late September or October.

That schedule matters for understanding the delay. The usual practice when a feature cannot be stabilized in time is to defer it to a future major version and keep the release on schedule. PostgreSQL 19 instead moved beyond that window, which Databricks attributes to contributors spending time on bug fixes that would otherwise have gone into feature review.

The release also arrived during a period of increased scrutiny of PostgreSQL security. Databricks states that fixing bugs has become easier but not to the same degree as finding them, and that human review and remediation remained necessary. Willison's framing centers on what he calls an AI-reported vulnerability wave.

Known, claimed, inferred

Established by the evidence: PostgreSQL 19 normally follows a predictable annual cycle of 14 to 15 months from first commits to general availability, with five commitfests, a feature freeze in April, a release branch cut around Beta 2 in June, and a release candidate in September. It reached general availability on November 19, 2026 and was made available on Lakebase the same day. Its named additions are REPACK, query plan advice, WAIT FOR LSN, and sequence synchronization in logical replication.

Attributed by sources: Databricks, whose engineers describe themselves as PostgreSQL contributors and committers, attributes the delay to the project's quality focus and to contributors redirecting time from reviewing new features to fixing bugs. The same source reports that CVEs fixed per quarterly update release rose from one to as many as 28 by August 2026 and that commits back-patched to the release branch increased 61%. Simon Willison, writing as a user, attributes the delay mainly to the volume of issues the team had to address amid what he calls an AI-reported vulnerability wave, and identifies WAIT FOR LSN as his preferred feature.

Reasoned inference: The convergence of bug volume, back-patch activity, and schedule slippage suggests that AI-assisted finding of defects has, so far, raised remediation load on volunteer-driven projects more than it has shortened delivery time. That is an inference from the reported pattern, not a measured causal result, and no independent project announcement is included to confirm it. The absence of a single headline feature in this release, as described by Databricks, is consistent with a stabilization-focused release.

What to watch next: Whether the defect-discovery rate falls back toward earlier levels or stays elevated will determine how much contributor time future release cycles absorb, and whether the project's usual September-to-October window returns. For managed platforms, the useful signal is when PostgreSQL 19 becomes selectable on services beyond Lakebase, since new major versions often take weeks to propagate.

Opportunities

  • Read-your-writes without polling logic. WAIT FOR LSN makes it possible to build applications that read from standby replicas while still observing their own writes, replacing sleep calls and polling loops with an explicit consistency barrier.
  • In-house table maintenance. The new REPACK command gives teams a built-in option for reclaiming space and restoring physical row order, which could reduce reliance on external tools such as pg_repack for some maintenance workflows.
  • Plan-stability tooling. Query plan advice offers a database-level option for pinning the behavior of a critical query, which could be exposed as a controlled operational action in deployment or database-management interfaces.
  • Migration tooling around sequences. Synchronizing sequences through logical replication opens the possibility of more complete replication workflows and migration helpers for teams moving data between PostgreSQL instances.
  • AI-assisted code and security review services. The reported rise in issues found and fixed after AI-assisted discovery points to a possible service category around AI-assisted auditing, triage, and remediation for open-source database and infrastructure projects. The evidence identifies no specific tool, vendor, or workflow for this today.

Risks

  • The upgrade path is undocumented in the available material. No compatibility guidance, migration instructions, or upgrade-testing results are provided, so teams cannot judge upgrade risk from this evidence alone.
  • Concurrency is not the same as no locking. Even with CONCURRENTLY, REPACK takes an ACCESS EXCLUSIVE lock during its final phase, which can be longer on a busy table. Applications that depend on uninterrupted table access should account for that window.
  • Extra storage and replication overhead. Concurrent repacking needs a temporary additional replication slot and free capacity under max_repack_replication_slots. A table missing the required primary key or a suitable replica identity cannot use this path.
  • Service availability varies. PostgreSQL 19 reached general availability on November 19, 2026 and was offered on Lakebase the same day, while other managed providers may take weeks to add it. Teams bound to a single managed service may have no immediate path to the new version.
  • No measured performance data. The evidence does not quantify the performance impact of REPACK, query plan advice, WAIT FOR LSN, or sequence synchronization, so planning that depends on expected throughput or latency changes remains unsupported by these sources.
  • Reliability trade-off in the release process. The delay reflects contributor time moving from feature review to bug fixing, a pattern the project says it is adapting to. A slower release cadence may reduce upgrade frequency for teams that need fixes promptly.
  • Lock-in and governance. Making a new major version available immediately on one managed platform, while others lag, can shape platform selection based on release timing rather than technical fit. The evidence does not address licensing, pricing, or data-egress consequences for the new version on any service.

Limitations & uncertainties

  • No independent PostgreSQL project release announcement or official release notes are included, so the release date and the full feature list are not confirmed directly from the project. The references to an official release notes document and to features being removed appear only as navigation text within the Databricks posts and are not corroborated.
  • The delay is described differently across sources. Databricks characterizes it as roughly one month past the September-to-October window, while Simon Willison describes it as two months later than a usual September release.
  • The figures for CVE fixes and back-patch activity come from a single interested source and have not been independently verified; the sources also disagree on the framing of the cause.
  • No evidence item is a third-party test report, so there are no published test results about PostgreSQL 19 performance, stability, or upgrade behavior.
  • The identity of the AI tools or systems used to find bugs and security issues is not specified, and no evidence establishes how many of the fixed CVEs were AI-discovered.
  • The evidence does not state the exact number or identity of contributors who worked on the release, only that several Databricks Lakebase engineers are PostgreSQL committers and contributors.
  • Compatibility, upgrade-path, and migration-testing details are absent beyond the feature descriptions and the REPACK constraints.
  • Adoption by other managed PostgreSQL services is not described, and the evidence does not quantify the performance impact of REPACK, query plan advice, WAIT FOR LSN, or sequence synchronization.
  • Two entries in the research record are duplicates of the Databricks posts and contribute no distinct information.

Evidence & sources

  1. 1
    PostgreSQL 19 is available on Lakebase
    ●databricks.comretrieved Nov 22, 2026
  2. 2
    Why PostgreSQL 19 shipped late
    ●databricks.comretrieved Nov 22, 2026
  3. 3
    PostgreSQL 19 Released
    simonwillison.netretrieved Nov 19, 2026

Updates & corrections

  1. First published

Found an error? Report it.