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. ▲ 203
    Pgrx: Build Postgres Extensions with Rust
    story by luu · 2026-04-25 · 16 comments
  2. …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
  3. ▲ 5
    LLMs let me maintain my PostgreSQL extension for PRQL after becoming a parent
    story by kaspermarstal · 2025-11-09 · 0 comments
  4. …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
  5. …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
  6. …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
  7. ▲ 180
    Show HN: Embed an SQLite database in your PostgreSQL table
    story by frectonz · 2024-11-19 · 110 comments
  8. These days, for writing extensions/FFI pgrx[0] is the best crate. [0] https://github.com/pgcentralfoundation/pgrx
  9. 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.
  10. …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
  11. 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
  12. 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
  13. There is a separate project to build Postgres extensions with Rust: https://github.com/pgcentralfoundation/pgrx
  14. …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
  15. …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...
  16. …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
  17. 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
  18. 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
  19. ▲ 6
    Pgrx – Build Postgres Extensions with Rust
    story by kaycebasques · 2023-10-08 · 1 comment
  20. …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
  21. …[1] Multicorn: https://multicorn.org/ [2] Steampipe: https://steampipe.io/ [2] pgx: https://github.com/tcdi/pgx
  22. You might want to have a look at Pgx: https://github.com/tcdi/pgx
  23. …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
  24. …[0] Yjs: https://github.com/yjs/yjs [1] Automerge: https://github.com/automerge/automerge [3] pgx: https://github.com/tcdi/pgx
  25. There's https://github.com/tcdi/pgx for writing extensions in rust.
  26. …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
  27. …time to be all-in on Postgres. [0]: https://supabase.com/blog/choosing-a-postgres-primary-key [1]: https://github.com/tcdi/pgx
  28. …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
  29. …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
  30. 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
  31. …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
  32. …https://github.com/timescale/timescaledb-toolkit [3]: https://github.com/timescale/timescaledb [4]: https://github.com/zombodb/pgx
  33. Regarding deep copies, have you considered writing it as a plugin in something like rust? https://github.com/zombodb/pgx
  34. …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…
  35. https://github.com/zombodb/pgx/releases/tag/v0.0.7 !boom!
  36. 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:…
  37. ▲ 305
    PGX: Write Postgres extensions in Rust instead of C
    story by adamnemecek · 2020-07-13 · 59 comments