Skip to content
Tomas Vondra Postgres Blog·

Tomas Vondra: AI Did Not Drive Most PostgreSQL 19 Reverts

Are we reverting patches because of bugs found by AI?

Key Takeaway

Tomas Vondra reviews 12 PostgreSQL 19 reverts and finds only 4 plausibly linked to AI, while most resulted from human review, incomplete designs, build failures, or late-cycle risk control.

Why It Matters

The post reviews 12 PostgreSQL 19 reverts, separates AI involvement from human review, and links release pressure to the growing workload of security reports.

Technical Breakdown · Distilled from the original source

Distinguishing AI involvement from revert triggers

  • The revert of expanded object-type support in CREATE SCHEMA appears to trace back to an Opus 5 review that flagged changes to semantics established in PostgreSQL 18. Foreign-key fast-path batching was removed over issues with check ordering. Some findings or reproducers may have come from AI, but Vondra could not confirm that.
  • Human review drove the UPDATE/DELETE FOR PORTION OF revert over incorrect concurrency behavior already known to the patch authors. Claude was used to test online checksum transitions only after the patch had been flagged as risky. Vondra attributes that revert to accumulated post-commit issues and late-cycle caution.

Reverts shifted later without a comparable rise in count

  • Counting commits whose subjects start with Revert, PostgreSQL 19 looks broadly in line with most prior releases. With the development branch fork as day zero, reverts previously clustered around day 300, shortly after feature freeze. PostgreSQL 19 instead saw a cluster around day 430. Diff insertions and deletions show a similar late spike.

Security work may have diverted reviewer time

  • The post cites roughly 5 CVEs the previous year and 44 so far in the year of writing, with 28 in the August 2026 PostgreSQL 18 update. Vondra argues that experienced contributors handling security reports, some of them AI-generated, may be a major reason for less review during stabilization. That is distinct from AI directly finding the issues that triggered feature reverts.
Source: Tomas Vondra Postgres Blog· vondra.me

PG Radar summarizes verified changes and impact. Read the original post for full technical details and code samples.

Read Official Source

Related PostgreSQL Reference