#llm
Rust Rewrite of Postgres Passes All Regression Tests
9/10github.com · ⭐️ 9/10 · 2026-07-09
A project called pgrust has rewritten PostgreSQL entirely in Rust using LLMs, and now passes 100% of the official PostgreSQL regression tests. This demonstrates the feasibility of using AI to rewrite large, critical infrastructure software, potentially enabling faster innovation and safer memory management in databases. It also sparks debate on licensing, code review, and trust in AI-generated code. The rewrite uses LLMs to generate code and has produced over 7,000 commits in less than a month, making traditional code review impractical. The project is licensed under AGPL, which differs from PostgreSQL's permissive license.