Pgrust, Postgres in Rust (passing 100% of Postgres regression tests)
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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
HN · launched Jun 25, 2026 · 6 upvotes (top 69%) · 0 views
Niche: database management systems and engines · 162 launches, 5 in the last 7 days ▼ -17% · Explore this niche →
Category and tags
- Horizontal
- Data infrastructure
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 162 launches in database management systems and engines →
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 : 238 launches clear the similarity bar, closest 8 shown.
Attention rank: #183 of 239 (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
- pgwire-replication · hn · 2026-01-11 · 46 upvotes · similarity 0.50
- PgDog · ph · 2026-07-14 · 227 upvotes · similarity 0.50
- uplpgsql · hn · 2026-07-16 · 10 upvotes · similarity 0.50
- Pgxio · hn · 2026-11-09 · 10 upvotes · similarity 0.50
- Stet · hn · 2026-04-21 · 5 upvotes · similarity 0.48
- Superkube · hn · 2026-05-01 · 9 upvotes · similarity 0.48
- PostgreSQL performance and cost across 23 EC2 instance types · hn · 2026-07-07 · 97 upvotes · similarity 0.48
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.