Hourly ·
Postgres Rewritten in Rust Passes 100% of Regression Tests
A developer's experimental rewrite of PostgreSQL in Rust, called pgrust, now passes 46,000+ regression tests and runs in a browser via WebAssembly
A solo developer's experimental project to rewrite PostgreSQL in Rust has reached a striking milestone: pgrust now passes 100% of Postgres 18.3's regression test suite — all 46,000-plus queries.
Built by Michael Malis, the project lives at pgrust on GitHub and targets full compatibility with Postgres 18.3. It is disk-compatible with existing data directories. You can boot it from a standard Postgres data directory and run SQL directly in a browser via the WebAssembly demo
The project is not production-ready and isn't performance-optimized yet, but the roadmap hints at ambitions well beyond a port: multithreaded internals, built-in connection pooling, no-vacuum storage designs, runtime guardrails for AI-generated SQL, and fewer sudden bad-plan switches.
The Postgres community took notice — the Hacker News discussion drew 389 points and nearly 400 comments, with developers debating whether Rust's safety guarantees make a compelling case for rewriting foundational infrastructure. Most agreed pgrust is an impressive proof of concept even if production Postgres isn't going anywhere.
For now, the project ships under AGPL-3.0 and accepts community contributions. A Docker image is available for anyone who wants to kick the tires.
PostgreSQL用Rust重写通过100%回归测试
开发人员用Rust重写PostgreSQL的实验性版本pgrust现在通过了超过46,000个回归测试[K ,并可通过WebAssembly在浏览器中运行
← 小時報 小時版 · 2026-07-10 02:00 UTC Postgres 重寫於 Rust 中通過 100% 回歸[K 測試 开发者的实验性将 PostgreSQL 重写为 Rust 的 pgrust 已经通过了超过46,000[6D[K 46,000+的回归测试,并在浏览器中通过 WebAssembly 运行 图片:Daniel Lundin,B[1D[K BSD(版权) 开发者个人的一个实验项目 将 PostgreSQL 从 Rust 中重新编写已经达[K 到一个令人印象深刻的里程碑: p
More Hourlies Stories
Content on Anagnorisis is summarized, paraphrased, and editorialized from publicly available sources for length and clarity. Original sources are linked where available. All trademarks belong to their respective owners.
