LLMs Found So Many Postgres Bugs That Version 19 Slipped to November

Postgres 19 is late, and it's AI's fault

PostgreSQL 19 will miss its usual mid-September to mid-October window, likely landing in November, after three major features were reverted between late August and mid-September. The cause: LLMs are surfacing decades-old bugs far faster than humans can fix them. Back-patched commits jumped over 60% year over year, and patches to prior releases rose 74%, diverting committer time away from release review.

It is not a long delay in the grand scheme of things, and it emerges directly from the project's concern for quality.
  1. BatteryMountain

    This is a good thing. Repaying technical debt is always a great thing.

    On our own 1.5M loc system, we've found and fixed thousands of bugs, security holes and circular dependencies in the last year. Code quality has increased, test coverage increased. We've also recently set our compiler to treat warnings as errors, and to be as strict as possible. It is absolutely amazing to see the gaps being filled, it would've been an impossible task for human devs and IDE's would've made it very uncomfortable. We've also ironed out all the bugs and failure modes in our infrastructure automation / monitoring. Our next project is to eliminate all 3rd party dependencies, and after that to rebuild our frontends completely using zero frameworks, not touching npm ever again after that.

    So when I read this about postgres, I was very happy that they found and pursued this side quest. They can make the codebase bullet proof.

  2. CharlesW

    > This year is going to be different. PostgreSQL 19 most likely won’t be released until November… […] So, what happened? The short answer is that LLMs happened. […] There’s a huge amount of code, and that code contains a huge number of bugs. […] What’s different now is that it’s become vastly easier to find those bugs.

    This seems…good?

    That it might disrupt the project's "traditional" release cadence a bit doesn't seem terribly bad in light of the alternative, which is shipping another major update with bugs which have apparently haunted the codebase for some time.

  3. tibbar

    I did a little AI-assisted bug-hunting in Postgres this summer in between jobs, and the haul was staggering. Multiple serialization anomalies (eg [0] [1] [2]), foreign key integrity issues ([3] [4]), planner correctness bugs such as [5]. Various CVE-worthy vulnerabilities. An unfixable timezone bug [6]. The list got so long that I had to triage what I even had time to report, and settled for a dozen or two out of hundreds of candidates. Now imagine the entire world doing this.

    [0] Write skew observed under serializable isolation:

    https://www.postgresql.org/message-id/flat/CA+COZaBo+ZpKgMvx...

    [1] Serializable anomaly: duplicate primary keys:

    https://www.postgresql.org/message-id/flat/CA+COZaBOiiRPmEfX...

    [2] SERIALIZABLE can commit write skew after SSI summarization:

    https://www.postgresql.org/message-id/flat/CA+COZaCtK=UQbeQw...

    [3] Fix temporal foreign key validation of pre-existing rows

    https://www.postgresql.org/message-id/flat/CA+COZaChq_ukm2o7...

    [4] Lost lock during toasting allows FK violation

    https://www.postgresql.org/message-id/flat/CA+COZaC-2-GQabq+...

    [5] Partition pruning can incorrectly exclude a RANGE default partition

    https://www.postgresql.org/message-id/flat/CA+COZaDXrfTaBjLE...

    [6] timestamp vs. timestamptz comparisons inconsistently ordered under DST : https://www.postgresql.org/message-id/flat/c22286ad6268347c6...

  4. blauditore

    They can always do what the average commercial product company would do: Triage bugs for priority and make a cut-off. Effectively this leads to eternally-ignored niche feature bugs that causes frustration for the (few) people suffering from these bugs. But then again, if an LLM found a bug but no human ever, no one might actually care that much.

  5. hopa

    I feel like AI is amazing for read only “search” tasks (query this, look for bugs, find vulnerabilities) but it’s not quite as good for “write” tasks like “add this feature”. Search tasks are easily verified, code changes are much harder to verify

  6. droppedasbaby

    I guess the real challenge is figuring out how to scale verification, cause discovery isn't the bottleneck anymore. Generating more bug reports doesn't necessarily translate into faster fixes if the same small group of maintainers still have to validate the reports, review fixes, etc.

  7. thingsilearned

    Relevant data here on AI’s impact on the pg development cycle https://dorianinsights.com/insights/llms_and_postgres_bug_fi...

  8. wkjagt

    With all these new security issues being found by AI, I wonder how many of those only became a real risk because of AI. In other words: how much time is being spent right now fixing these issues _with_ AI but also _because of_ AI.

  9. stefs

    The Joel Test: 12 Steps to Better Code: https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s...

    Step 5: Do you fix bugs before writing new code?

    (now i feel old)

  10. tosh

    Not specific re Postgres, just a general observation:

    A pattern I'm seeing w/ companies and projects not used to continuous delivery (or at least shorter release cycles) is that they are slipping in schedules more now.

    I think in the current environment it makes a lot of sense to re-think how often releases get cut and how to handle security related updates.

    When you do only one or a few releases per year everything is 'higher' stakes and more bureaucratic.

More from this day

2026-11-02