← All stories
● Covered by 1 source Β· 1 reportMedium impact

Postgres Rewritten in Rust Passes All Regression Tests for Version 18.3

Aggregated by BrevFeed dev Β· updated 1h ago
πŸ”– Save

A new project called pgrust has rewritten Postgres in Rust, achieving compatibility with Postgres 18.3 and passing over 46,000 regression tests. This initiative aims to facilitate internal changes to Postgres while maintaining its established behavior, though it is not yet ready for production use.

Key points

Overview of pgrust

pgrust is a complete rewrite of the Postgres database in Rust. It is designed to match the expected outputs of Postgres version 18.3, successfully passing all 46,000 regression tests. With disk compatibility, it can boot from existing Postgres 18.3 data directories.

Goals and Features

The primary goal of pgrust is to simplify internal changes to Postgres while preserving its behavior. Features include multithreaded internals, built-in connection pooling, and improved support for JSON workloads. Additional experiments are ongoing to explore storage methodologies, including designs that eliminate the need for vacuuming.

Current Limitations

As of now, pgrust is not production-ready, lacking performance optimization and full compatibility with existing Postgres extensions. While certain contrib modules have been ported, many procedural language extensions like PL/Python and PL/Perl do not yet work.

Testing and Installation

Users can access a WebAssembly demo at pgrust.com. Installation instructions are available for various operating systems including Docker, macOS, and Debian/Ubuntu, with specific commands provided for running and building the software.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β€” check the original sources. How BrevFeed works β†’

Primary sources

GitHub cmc_internal/api GitHub github/collect GitHub malisper/pgrust GitHub _private/browser GitHub get-started/accessibility GitHub open-source/sponsors

Reporting from

A new project called pgrust has rewritten Postgres in Rust, achieving compatibility with Postgres 18.3 and passing over 46,000 regression tests. This initiative aims to facilitate internal changes to Postgres while maintaining its established behavior, though it is not yet ready for production use.