PostgreSQL 19 is delayed and loses features, and a developer says AI code review is partly why
PostgreSQL 19 is now expected around 19 November, and 8–10 features will move to version 20. Developer Peter Eisentraut says the cause is partly LLM-assisted code review, which found bugs faster than the team could fix them.
PostgreSQL 19, the next major version of the PostgreSQL database, is running late. The Register reported on 16 October that the release had been planned for late September or early October. It is now expected around 19 November. The developers have also removed 8–10 significant features from the release, and these will probably move to next year's PostgreSQL 20. The project's website says the first release candidate (RC 1) came out on 15 October. According to Tech Insider, the second release candidate is due on 12 November.
Peter Eisentraut, one of PostgreSQL's lead developers, says LLM-assisted code reviews explain at least part of why so many features were removed. In a code review, someone reads through a code change and looks for errors. Eisentraut is also an executive at EDB, a company that sells PostgreSQL support and consultancy.
The Register summarised a blog post by Eisentraut. He says some of the removed features had significant architectural flaws that would have been hard to fix quickly, especially at the beta stage. The Register's article does not say whether LLMs found these particular flaws.
LLM-assisted review also turned up a long list of bugs that Eisentraut describes as relatively harmless, involving various edge cases. In the past, developers would probably have spotted them only later and fixed them over the five years after the release. ‘With LLM-assisted code review, you find these things much faster, and then you face a list of 40 bug reports. Even if each fix takes only three lines on average, handling each one carries a fixed overhead, and then you run out of time,’ Eisentraut says.
Tech Insider presents the figure of 40 reports as Eisentraut's estimate of how many bugs were found. In The Register's version of the quotation, however, the number is only an example.
Eisentraut says the major features planned for version 19 were written when LLMs were less useful for code review than they are now. In the months before the release, developers learned how to use the method and it became more effective. ‘In practice, the quality bar has risen since the feature was written and committed. Unless the capability of LLM-assisted code review keeps improving at its current pace, the situation should settle down in future development cycles.’
Eisentraut stresses that vibe coding, where developers have AI write code and barely check it, did not cause the removals. He says the practice did not yet exist when most of the new features were written.
The removed features include support for SQL/PGQ queries, which were added to the SQL standard in 2023. These queries let users examine how nodes connect to each other through the edges that link them. According to The Register, the developers removed PostgreSQL's implementation because of unresolved problems. The Register reports that PostgreSQL developer Tom Lane warned at the time: ‘At this point I'm prepared to bet a dinner that if we ship it in v19, bugs will turn up after release that can't be fixed before v20.’ Tech Insider attributes the same sentence to Eisentraut.
Features that remain in the release include REPACK CONCURRENTLY, which frees disk space without locking the table in the way VACUUM FULL does. Eisentraut says that after all the extra scrutiny, the release will be very stable.