Postgres rewritten in Rust, now passing 100% of the Postgres regression tests(github.com)
709 points by SweetSoftPillow 1 day ago | 598 comments
tl;dr: pgrust is a Rust rewrite of Postgres targeting 18.3 compatibility, now passing all ~46,000 regression tests and able to boot from an existing Postgres data directory. An unreleased in-progress version reportedly uses threads instead of processes, runs 50% faster on transactional workloads, and ~300x faster on analytical workloads (within 2x of ClickHouse on ClickBench). It's not production-ready, lacks extension support (PL/Python, PL/Perl, etc.), and is AGPL-3.0 licensed.
HN Discussion:
  • Author explains project is an LLM-driven experiment to rearchitect Postgres
  • Skepticism about single-person LLM-generated rewrites lacking long-term viability
  • Tests alone don't prove reliability; production battle-scars matter more
  • Heavy use of unsafe Rust suggests mere AI transpilation, not a true rewrite
  • ~Licensing concerns about AGPL relicensing and potential violations of original license