Rewriting a Database Giant: Meet pgrust

PostgreSQL is the bedrock of modern application development. It is incredibly stable and feature-rich, but it is built on a C codebase that started in the 1980s. In systems programming, legacy C architectures carry memory-safety risks and make core changes difficult.

pgrust is an experimental open-source project that aims to rewrite the entire PostgreSQL database engine from scratch in Rust.

The project recently hit a historic milestone: it now passes 100% of the official PostgreSQL 18.3 regression test suite (over 46,000 test queries).

What is pgrust?