Hacker GitHub

← All repos

pgcentralfoundation/pgrx

View on GitHub ↗ ★ 4,822 Rust

Build Postgres Extensions with Rust!

37 mentions on Hacker News by 26 people: 5 stories, 32 comments · first 2020-07-13 · latest 2026-04-25

Mentions per year 37 mentions · busiest year 2022 (11)
20082026
  1. …pushed it to GitHub yet, but it's fairly done at this point. 0: https://github.com/ulid/spec 1: https://github.com/pgcentralfoundation/pgrx
  2. …believe it or not, blaming Rust just as much. I've had an interesting discussion with pgrx people: https://github.com/pgcentralfoundation/pgrx/issues/1897#issu... to quote @workingjubilee > Rust has formally rejected the notion that any…
    comment by tucnak · 2025-07-08 · in # [derive(Clone)] Is Broken
  3. …it's all been done with? [1]: https://github.com/Rust-GPU/Rust-CUDA/blob/main/guide/src/fe... [2]: https://github.com/pgcentralfoundation/pgrx [3]: https://github.com/betrusted-io/xous-core [4]: https://www.bunniestudios.com/blog/2022/the-p…
    comment by tucnak · 2025-07-08 · in # [derive(Clone)] Is Broken
  4. …dynamically link to it, which makes for a perfectly good feedback loop. pgfdb is built with pgrx: https://github.com/pgcentralfoundation/pgrx , which is a framework for building Postgres extensions in Rust that handles all the compiling…
    comment by fabianlindfors · 2025-05-23 · in Making Postgres Distributed with FoundationDB
  5. These days, for writing extensions/FFI pgrx[0] is the best crate. [0] https://github.com/pgcentralfoundation/pgrx
  6. He's referencing pgrx: https://github.com/pgcentralfoundation/pgrx To be fair pgrx was mentioned in OP under a positive light, and OP did say he likes avoiding coding in C, so it was something to bring up.
  7. …I do not prefer to write in if given the choice. Shout out to the pgrx folks. You're awesome! https://github.com/pgcentralfoundation/pgrx
  8. Yet another amazing postgres plugin made possible by pgrx ( https://github.com/pgcentralfoundation/pgrx ) It's really crazy how some projects just instantly enable a whole generation of new possibilities. If you are impressed like this and…
    comment by hardwaresofton · 2024-05-14 · in Pg_lakehouse: Query Any Data Lake from Postgres
  9. Consider also the companies and work behind pgrx [0] and pgzx [1]: [0] https://github.com/pgcentralfoundation/pgrx [1] https://github.com/xataio/pgzx
    comment by eatonphil · 2024-04-08 · in Building a Managed Postgres Service in Rust
  10. There is a separate project to build Postgres extensions with Rust: https://github.com/pgcentralfoundation/pgrx
  11. …thanks to the seriously awesome pgrx[1] and Rust. [0]: https://github.com/VADOSWARE/pg_idkit [1]: https://github.com/pgcentralfoundation/pgrx
    comment by hardwaresofton · 2024-02-05 · in UUID v7
  12. …to focus on developing a separate C extension [0] TLE: https://supabase.com/blog/pg-tle [1] pgrx: https://github.com/pgcentralfoundation/pgrx [2] https://github.com/pgcentralfoundation/pgrx/issues/190#issue...
  13. …happens. But otherwise basic CRUD is easy. https://wiki.postgresql.org/wiki/Foreign_data_wrappers https://github.com/pgcentralfoundation/pgrx https://github.com/supabase/wrappers
    comment by speedgoose · 2023-12-25 · in SQL as API
  14. I think maybe what you’re really looking for are the files here: https://github.com/pgcentralfoundation/pgrx/tree/c2eac033856... Those are the internals we currently expose as unsafe “sys” bindings. As we/contributors identify more that…
    comment by zombodb · 2023-10-11 · in Postgres: The next generation
  15. Ah, curious what this bit does then, I think I might have misunderstood it: https://github.com/pgcentralfoundation/pgrx/blob/c2eac033856...
    comment by gavinray · 2023-10-10 · in Postgres: The next generation
  16. …in the PG ecosystem in a long time. Awesome to see so many high quality extensions come out of it. https://github.com/pgcentralfoundation/pgrx
  17. …[1] Multicorn: https://multicorn.org/ [2] Steampipe: https://steampipe.io/ [2] pgx: https://github.com/tcdi/pgx
  18. You might want to have a look at Pgx: https://github.com/tcdi/pgx
  19. …has given gets me excited. Last week saw a similar project in rust to built Postgres extensions https://github.com/tcdi/pgx Hope I can play something interesting during vacations
  20. …[0] Yjs: https://github.com/yjs/yjs [1] Automerge: https://github.com/automerge/automerge [3] pgx: https://github.com/tcdi/pgx
  21. There's https://github.com/tcdi/pgx for writing extensions in rust.
  22. …cases. Very interesting idea -- just want to add one thing, write it in rust (with pgx?[0]) :) [0]: https://github.com/tcdi/pgx
    comment by hardwaresofton · 2022-10-14 · in Postgres Full Text Search vs. the Rest
  23. …time to be all-in on Postgres. [0]: https://supabase.com/blog/choosing-a-postgres-primary-key [1]: https://github.com/tcdi/pgx
  24. …at some stage (if anyone is reading this and wants to attempt this, please reach out). [0] pgx: https://github.com/tcdi/pgx
    comment by kiwicopple · 2022-08-18 · in Supabase – Realtime: Multiplayer Edition
  25. …the database and I can't think of a language I want to use at the DB level more than Rust. [0]: https://github.com/tcdi/pgx
  26. Yes! We've been exploring https://github.com/tcdi/pgx internally so we'd be able to re-work the hotspots in rust. We haven't decided to go that route yet but its been incredibly easy to work with & I'm psyched about what options it could…
    comment by oliverrice · 2022-03-30 · in GraphQL is now available on Supabase
  27. …using C. pgx allows you to write Rust, and has lots of features to make your code type safe https://github.com/zombodb/pgx
    comment by timClicks · 2022-01-26 · in Creating a Postgres Foreign Data Wrapper
  28. …https://github.com/timescale/timescaledb-toolkit [3]: https://github.com/timescale/timescaledb [4]: https://github.com/zombodb/pgx
  29. Regarding deep copies, have you considered writing it as a plugin in something like rust? https://github.com/zombodb/pgx
  30. …it. And if Rust is more to your liking, there's a toolkit for building extensions in Rust as well: https://github.com/zombodb/pgx A drawback of using custom extensions is you're often limited to then managing your own PostgreSQL…
  31. https://github.com/zombodb/pgx/releases/tag/v0.0.7 !boom!
  32. As a follow-up. Here's what Postgres' "generate_series" function looks like with pgx: https://github.com/zombodb/pgx/blob/0803bd3aa2f8ef2bd80d2e03... And here's what you'd have to do to implement it in C:…