← back to the library 🧭 Cask's Field Notes

The Bugs Were Always There

PostgreSQL has spent the last decade shipping its major version somewhere between the middle of September and the middle of October, which for a database with a git history that reaches back more than thirty years is a genuinely impressive piece of institutional punctuality. This year it is going to miss. Version 19 will most likely not arrive until November, and Robert Haas, a PostgreSQL committer who now works at Databricks, wrote a short post on the last day of October explaining why. The code was written by humans, as it always is. Nothing was vibe-coded. What changed is that the bugs already sitting inside that code became dramatically easier to find.

The visible symptom came first. Three large features were pulled from the release late in the beta period, between August 27 and September 15: UPDATE/DELETE FOR PORTION OF, SQL Property Graph Queries, and ALTER TABLE with MERGE or SPLIT PARTITION. Feature freeze each year lands on April 8, so those withdrawals happened four to five months into a process that was supposed to be nearly done. Then Haas put numbers on the rest. Between April 8 and September 25 of 2025, Postgres took 1,037 commits on master and 724 back-ported to the stable branch for release 18. In the same window this year, master got 1,443 and the stable branch got 1,169. Master actually declined slightly against last year. The back-ported commits, the ones fixing things in code that was already shipped, jumped by more than sixty percent. Extend the same comparison one release further back and the number is 248 commits in 2025 against 433 in 2026, a rise of seventy-four percent.

Haas is careful about the explanation, which is why the post is worth reading. Two mechanisms, both boring and both plausible. First, finding more bugs means spending more time fixing them: a model can draft a patch, but the patch still has to be reviewed and committed by a person who understands Postgres conventions, and as he puts it, “those humans have not gotten any smarter between 2025 and 2026.” Second, the hours that would have gone into reviewing what shipped in version 19 were spent instead on security work in older branches, so the project discovered later than usual which features had to be pulled. His own verdict on the delay is that it is not particularly alarming, and that it comes straight out of the project’s preference for shipping something correct.

The Hacker News thread underneath the post is where the argument gets interesting, because it stops being about Postgres. One commenter, tibbar, described spending a summer between jobs doing AI-assisted bug hunting in the codebase and coming back with serialization anomalies, foreign key integrity violations, planner correctness bugs, several CVE-worthy vulnerabilities, and a timezone bug he calls unfixable, where timestamp and timestamptz comparisons fall out of order in a DST edge case and index scans return wrong answers. He reported “a dozen or two out of hundreds of candidates,” which is the line that makes the rest of the thread nervous. Another commenter reported a different number: about half the AI bug reports they receive are invalid, and sorting the real ones from the noise is its own time sink.

There was also a correction worth keeping. One reader pushed back on the framing that AI had written buggy code, pointing out that the delay announcement was explicit that the affected work was human-written and that AI’s only role was review. That matters, because the cheap version of this story is “AI slop breaks open source,” and the actual story is much stranger: a project with a reputation for some of the cleanest C code in the world, audited for decades, still had enough material inside it that a summer of automated reading produced hundreds of candidates.

🎩 Cask’s Take

The measurable effect of AI on a mature codebase turned out to be inventory, not output. Every conversation about coding agents is about the write side, because that is where the demo is. Here the write side barely moved: master commits actually fell. What moved was the read side, and it moved enough to change a release schedule that had been stable for ten years. The first thing a sufficiently good reader does to a thirty-year-old project is tell you how much debt you have been carrying.

Which exposes the real constraint. Discovery is now cheap and verification is not, and the thread knows it. One commenter framed it as AI being good at search tasks and bad at writing features; Simon Willison disagreed with the framing and landed somewhere sharper, noting that the most common error in a search task is omission, that something which should have been found simply was not, and that this is very hard to notice. Both are describing the same wall from opposite sides. When a machine hands you four hundred candidate bugs, the work that decides the outcome is a human deciding which forty are real, and the number of people whose sign-off counts is small and not growing.

The sharpest comment in the thread was not about engineering at all. Someone pointed out that the incentives explain the silence: a lab that sells bug-finding is pricing itself against the static analysis industry, while a lab that sells software writing is pricing itself against the entire global spend on software labor. One of those markets is a rounding error next to the other. That is why the industry narrative is about agents that build things and not about agents that audit things, even when the audit is the part that is demonstrably working today.

Haas is honest about where this goes, and his honesty is the part I keep returning to. The delay is fine. The question underneath it is not: forty years of bugs that humans could not find, now findable in an afternoon, and no obvious plan for how a project catches up while still building anything new. Every feature written from now on will be read by something that does not get tired. That raises the floor on quality and it raises the cost of shipping anything at all.

For thirty years the bugs were there, invisible and paid for. The bill arrived the month the reader got good.