Back to the blog
PostgreSQLAIOpen Source

Postgres 19 is late: AI is finding too many bugs

November 18, 2026·6 min read·Diego Horvatti

For years PostgreSQL has shipped at the end of September, as punctual as a Swiss train. This year it didn't. Postgres 19 is late, and the reason came from Robert Haas, one of the project's longest-serving committers, in a post with a very direct title: Postgres 19 is late, and it's AI's fault. In short: AI tools are finding bugs faster than the community can keep up.

For the first time, AI is delaying a major piece of software because it helped too much, not because it wrote bad code. It's worth understanding how that happened.

Why is Postgres 19 late?

Postgres has a very predictable cycle. Features go in until the feature freeze, around April. Then come the betas, and a group called the Release Management Team tracks a public list of "open items": bugs and loose ends that need fixing before the final release. Once that list is small enough, the release candidate ships, and the stable version follows soon after.

In 2026, that list refused to shrink. According to Haas, the problem wasn't a lack of people working. It was too much stuff coming in. Researchers and contributors started using language models to comb through the new code, and bug reports began arriving in much higher volume than usual.

And it wasn't spam. Most of the reports were real bugs, some of them serious. A serious bug in a database is the kind of thing nobody wants to push to 19.1.

What kind of bugs AI is finding

Here's the interesting part. Fuzzers like sqlsmith and static analysis tools have been around for a long time, and Postgres already runs all of them. What changed is the ability to read code with context.

A model can take a new commit, understand what it was trying to do and ask: "what if this function gets a tuple from a partition with a different schema?". That's how a good human reviewer thinks, just applied to thousands of lines without getting tired.

The bugs that show up in this kind of sweep tend to be:

  • edge cases in new features that nobody tested with weird combinations;
  • race conditions in concurrent code, which a fuzzer rarely catches;
  • poorly handled error paths, where a failure in the middle of an operation leaves inconsistent state behind.

These are exactly the bugs a user hits in production two years later, at 3 a.m., and that nobody can reproduce.

The bottleneck is now the human who fixes them

Finding a bug got cheap. Fixing it is still expensive.

For every report, someone on the project has to read it, reproduce it, decide whether it's really a bug, write the patch, review it and commit it. In Postgres this process is demanding on purpose. A patch to the executor or the WAL goes through people who have known that part of the code for a decade, and there aren't many of them.

Finding bugs became a commodity. The attention of people who know how to fix them did not.

It's a curious reversal. Open source projects have always had the opposite problem: few people testing and lots of hidden bugs. Now the funnel is wide at the top and narrow in the middle. An AI-generated bug report takes minutes to exist and hours of an expert's time to resolve.

Haas doesn't complain about AI itself. His take is more honest: the bugs were already there. AI just turned on the basement light.

Is this good or bad for Postgres users?

My opinion: it's great, and anyone complaining about the delay is looking the wrong way.

Think about what you run in production. Your Postgres stores orders, payments, customer records. I'd much rather have a version 19 that ships a month late with dozens fewer bugs than an on-time release that corrupts an index in some rare MERGE case with partitions.

Postgres built its reputation by being boring, conservative and reliable. Delaying to fix bugs is just the project being itself.

There's a worrying side, of course. If the volume keeps growing, the community will need to change its process, whether through automated triage, more reviewers or clearer criteria for accepting machine-generated reports. And this isn't just a Postgres problem. Any open source project maintained by a handful of people will feel it. curl, for example, has publicly complained about AI-generated security reports that were nothing but hallucinations. Postgres is at the opposite end: the reports are good, and that's exactly why they take work.

What changes in your upgrade flow

In practice, almost nothing changes for you except the date. But the delay is a good excuse to do the homework everyone skips.

First, test the new version before it goes stable. Spinning up the beta or RC in a container takes a minute:

docker run -d --name pg19 -e POSTGRES_PASSWORD=dev -p 5433:5432 postgres:19rc1
psql -h localhost -p 5433 -U postgres -c "select version();"

Adjust the tag to whatever is published on Docker Hub when you test. Then run your app's test suite against that port. If you use Prisma, Drizzle or any ORM, swap the DATABASE_URL and see what breaks.

Second, when you migrate for real, use pg_upgrade's check mode before touching anything:

pg_upgrade \
  --old-bindir=/usr/lib/postgresql/18/bin \
  --new-bindir=/usr/lib/postgresql/19/bin \
  --old-datadir=/var/lib/postgresql/18/main \
  --new-datadir=/var/lib/postgresql/19/main \
  --check

It doesn't change anything and flags incompatibilities in extensions, types and configuration.

Third, and this is the advice I follow: don't upgrade production in launch week. Wait for the first minor, the x.1. With more bugs being found now, the .0 will probably ship more polished, but the rule still holds. If you use a managed database like RDS, Cloud SQL, Neon or Supabase, you usually get that gap for free, because providers take a while to roll out the new version.

The message for anyone who maintains code

Take Postgres out of the picture and the news says a lot about your own repository.

If AI can find bugs in some of the most reviewed C code on the planet, it can find them in your Node backend too. So here's a practical idea: grab one of your PRs from last week and ask a model to look for edge cases, race conditions and unhandled errors. Don't ask it to "review this code". Ask something specific, like "what happens if two requests call this function at the same time with the same userId?".

You'll get false positives, for sure. But you'll also get two or three that make you break into a cold sweat. And then you'll understand what the Postgres community is feeling: fixing everything is a lot of work, but it's much better to find out now than from a customer's error log.

A delay for a good reason

For years the conversation about AI and code was about generating more code, faster. The Postgres 19 case shows the use I find most valuable and least talked about: using the machine to be suspicious of code, not to write it.

The price was a late release and a few overloaded committers. I'm happy to pay it. A good database is one you forget even exists.

If you like seeing how I use Postgres and TypeScript in real projects, check out my projects.

LinkedIn summary

Postgres 19 is late, and AI is to blame. Just not in the way you think.

AI tools started finding real bugs in the new code, and the volume grew bigger than the committers can fix.

Finding bugs got cheap. Fixing them is still expensive, and few people know how to do it.

I'd take a database that ships a month late over one that corrupts an index in production at 3 a.m. any day.

To me this is the best use of AI: being suspicious of code, not just writing more of it.

I wrote on my blog about what changes in your upgrade and how to run this test on your own repository. The link is in the comments.

#PostgreSQL #OpenSource #ArtificialIntelligence #SoftwareDevelopment #Backend