Pgrust, Postgres in Rust (passing 100% of Postgres regression tests)
Details
- External ID
- 48674697
- Source
- HN
- Company
- —
- Product
- Pgrust, Postgres in Rust (passing 100% of Postgres regression tests)
- Website domain
- github.com
- Launched
- June 25, 2026
- Cohort
- —
- Upvotes
- 6
- Upvotes percentile
- 0.31420765027322406
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
pgrust is a PostgreSQL rewrite in Rust I've been working on with my friend Jason. It now passes 100% of PostgreSQL's regression tests and we were even able to boot pgrust off an existing PostgreSQL 18.3 data directory. You can hack on its code or try it out quickly with the WASM build on pgrust.com.It's not production ready yet. I haven't focused on performance optimized yet and it's not compatible with existing PostgreSQL extensions.I want to improve upon Postgres in many ways in the future. I wrote about some here [0], and Jason and I saw a great talk in person at PGConf.dev a month ago from Bruce Momjian with some more [1]. I wanted to rewrite Postgres in Rust to make it easier to make these changes with AI in the future and I think AI-assisted programming is going to get more and more ambitious over time.Would love for people to try it out and get feedback on what you'd like to see improved about Postgres the most and what the most exciting things we can do are.[0] https://malisper.me/the-four-horsemen-behind-thousands-of-po...[1] https://www.youtube.com/watch?v=ppGO7r2sEkE
Enrichment
- Theme
- database infrastructure and developer tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- postgres implementation in rust
- Manually corrected
- False
Could you build this?
No Re-implementing a production-grade relational database engine like PostgreSQL in Rust to 100% regression test compliance requires deep database internals expertise, low-level memory management, and parser/query planner knowledge that vibe coding cannot synthesize.
What it would actually take: A project like pgrust requires deep systems programming in Rust, implementing the entire Postgres wire protocol, parser, planner, executor, MVCC storage engine, and compatibility layer down to disk-page format (e.g. reading Postgres data files). It demands specialized expertise in database systems architecture, write-ahead logging (WAL), concurrent transaction semantics, and extensive porting/adaptation of C internals to Rust.
Discussion
1 comment analyzed.
Concerns raised: Postgres has undocumented performance cliffs at scale, Fundamental design flaws in postgres limit practical improvements
Competitors
Other products that read as similar to this one — 131 launches clear the similarity bar, closest 8 shown.
Attention rank: #97 of 132 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 238 days after the earliest competitor.
- Pg-typesafe · hn · 2026-02-17 · 69 upvotes · similarity 0.50
- PgDog · ph · 2026-07-14 · 227 upvotes · similarity 0.49
- uplpgsql · hn · 2026-07-16 · 10 upvotes · similarity 0.49
- pgwire-replication · hn · 2026-01-11 · 46 upvotes · similarity 0.48
- Stet · hn · 2026-04-21 · 5 upvotes · similarity 0.48
- PostgreSQL performance and cost across 23 EC2 instance types · hn · 2026-07-07 · 97 upvotes · similarity 0.48
- Superkube · hn · 2026-05-01 · 9 upvotes · similarity 0.48
- Pglite-oxide · hn · 2026-04-27 · 5 upvotes · similarity 0.46
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.