pgrust

Open source

pgrust is an experimental Rust reimplementation of PostgreSQL that aims to stay wire and SQL compatible while outperforming Postgres and ClickHouse.

Open-source alternative to

pgrust.com
pgrust homepage screenshot
GitHub stars
5.8k
Last 30 days
+545(+10%)
Last commit
17 days ago
Repository age
7 months
Version
v0.4-beta
Licence
AGPL-3.0
Self-hosted
Yes

About pgrust

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

Good fit for

  • Experimenting with a Rust Postgres engine
  • Benchmarking against Postgres workloads
Tags
postgres
rust
database
sql
experimental
postgresql-compatible
ai-assisted

pgrust: questions and answers

What is pgrust used for?
pgrust is an experimental Rust reimplementation of PostgreSQL that aims to stay wire and SQL compatible while outperforming Postgres and ClickHouse. It is a good fit for experimenting with a Rust Postgres engine and benchmarking against Postgres workloads.
Is pgrust open source?
Yes. pgrust is open source under the AGPL-3.0 licence. Its source code is on GitHub at malisper/pgrust and is written mainly in Rust.
Is pgrust free?
Yes. pgrust is open source, so the software itself is free to use.
Can I self-host pgrust?
Yes. pgrust can be self-hosted on your own server or infrastructure.
What is pgrust an alternative to?
pgrust is an open-source alternative to Proven.
Is pgrust actively maintained?
Yes. The most recent commit to pgrust was on 26 October 2026, and the latest release is v0.4-beta, published on 22 October 2026. The project has 5.8k stars on GitHub, with 545 added in the last 30 days.

Open-source alternatives to pgrust

See all

SaaS alternatives to pgrust

See all