Tool Open source
pgrust is an open-source reimplementation of PostgreSQL written entirely in Rust. It is wire-compatible and SQL-dialect-compatible with PostgreSQL, can use an existing PostgreSQL data directory, and is intended to show what PostgreSQL might look like with a modern Rust implementation.
Its architecture includes a vectorized, push-based executor with JIT compilation, thread-based concurrency, a priority-based query scheduler, work-stealing parallel query execution, a built-in out-of-memory killer, pipelined fsync, and the pgrcolumnar column-oriented storage format. It also provides a browser-based WebAssembly build, downloadable binaries, source builds, and a Docker image compatible with the official PostgreSQL image's environment variables and data volume layout.
The project reports passing PostgreSQL's regression suite, but states that it still contains bugs and is not recommended for production. Existing PostgreSQL extensions do not work because pgrust has no stable extension ABI, and its JIT compiler is tuned for Graviton4. pgrust is licensed under AGPL-3.0, while portions derived from PostgreSQL remain under the PostgreSQL License.
1 use taken from transcripts — each links to the moment in the video.
An open-source reimplementation of PostgreSQL written in Rust. It is wire- and SQL-compatible with PostgreSQL, passes its regression suite, can boot from an existing PostgreSQL data directory, and is presented as an experimental project rather than production-ready software.
1 in the library.