Article URL: https://github.com/malisper/pgrust Comments URL: https://news.ycombinator.com/item?id=48841676 Points: 135 # Comments: 171

pgrust targets compatibility with Postgres 18.3 and matches Postgres's expected output across more than 46,000 regression queries. pgrust is disk compatible with Postgres and can boot from an existing Postgres 18.3 data directory. The goal is to make Postgres easier to change from the inside: keep the behavior Postgres-shaped, keep the real Postgres tests as the oracle, and use Rust plus AI-assisted programming to explore deeper server changes. Existing Postgres extensions and procedural language extensions such as PL/Python, PL/Perl, and PL/Tcl are not generally compatible yet. Some bundled contrib modules are already ported, and more compatibility may be possible over time. malisper/pgrust:latest currently points at the same release, but v0.1 is the pinned launch image. The runner uses pgrust's own --initdb plus the vendored Postgres 18.3 test files in this repository. It needs a Postgres 18 psql client on PATH; if psql is somewhere else, set PGRUST_PSQL=/path/to/psql. Verified launch result: pgrust matched Postgres's expected output across more than 46,000 regression queries. This repository now contains the newer pgrust implementation that reached the regression-test milestone.