Postgres rewritten in Rust: pgrust passes 100% regression tests

Original: Postgres rewritten in Rust, now passing 100% of the Postgres regression tests

Why This Matters

A Rust-based Postgres rewrite signals growing momentum for memory-safe reimplementations of critical database infrastructure.

Developer malisper has released pgrust, a full rewrite of PostgreSQL in Rust. The project targets compatibility with Postgres 18.3 and passes more than 46,000 regression queries. It is also disk-compatible with existing Postgres 18.3 data directories.

The open-source project pgrust, published by developer malisper on GitHub, is a complete rewrite of the PostgreSQL database engine in Rust. The project targets compatibility with Postgres 18.3 and currently passes all of the official Postgres regression tests—covering more than 46,000 queries. Notably, pgrust is disk-compatible with Postgres, meaning it can boot directly from an existing Postgres 18.3 data directory without data migration. The stated goal of the project is to make Postgres easier to modify internally: preserving Postgres-compatible behavior, using the real Postgres test suite as the ground truth, and leveraging Rust along with AI-assisted programming to explore deeper server-level changes. The project is licensed under AGPL-3.0 and has already attracted over 690 GitHub stars and 18 forks since publication. A browser-based demo and a Discord community are also available.

Source

github.com — Read original →