
pgrust
pgrust is an experimental Rust reimplementation of PostgreSQL that aims to stay wire and SQL compatible while outperforming Postgres and ClickHouse.
- GitHub stars
- 6k
- Last commit
- 4 days ago
- Latest release
- v0.4-beta
- Licence
- AGPL-3.0
- Self-hosted
- Yes

pgrust is a rewrite of PostgreSQL in Rust. Its authors describe it as an experiment in what Postgres might look like if it were designed today, and as a project built with heavy use of AI-assisted development. It targets drop-in compatibility with the Postgres wire protocol and SQL dialect.
The README claims the project passes all 46,066 tests in the Postgres regression suite, and states that it is faster than both Postgres and ClickHouse; those performance claims come from the project itself and should be verified for your workload. A browser demo, a Discord community and a talk about JIT compilers and AI-driven development are linked from the repository. The current release is v0.3, so it is early-stage software.
pgrust is licensed under AGPL-3.0 and is intended to be run on your own machines. It is of interest to database engineers, researchers and Postgres users curious about a memory-safe, Rust-based engine, and it is not yet a proven replacement for production Postgres.
Key features
- Rust reimplementation of PostgreSQL
- Wire protocol compatible with Postgres
- SQL dialect compatibility
- Runs the Postgres regression test suite
- Online browser demo available
- Early-stage v0.3 release
Pricing: Free and open source under AGPL-3.0.

















