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
20082026
-
…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
comment by K0nserv · 2025-12-14 · in Ask HN: What Are You Working On? (December 2025) -
…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 -
…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 -
…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 -
These days, for writing extensions/FFI pgrx[0] is the best crate. [0] https://github.com/pgcentralfoundation/pgrx
comment by imor80 · 2024-08-11 · in Show HN: Pg_replicate – Build Postgres replication applications in Rust -
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.
comment by HaZeust · 2024-06-29 · in Ask HN: What is the best code base you ever worked on? -
…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
comment by ttfkam · 2024-06-28 · in Ask HN: What is the best code base you ever worked on? -
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 -
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 -
There is a separate project to build Postgres extensions with Rust: https://github.com/pgcentralfoundation/pgrx
comment by minimaxir · 2024-03-21 · in Introducing pgzx: create PostgreSQL extensions using Zig -
…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...
comment by kiwicopple · 2024-01-03 · in 90x Faster Than Pgvector – Lantern's HNSW Index Creation Time -
…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 -
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 -
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 -
…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
comment by hardwaresofton · 2023-10-08 · in Pg_bm25: Elastic-Quality Full Text Search Inside Postgres -
…[1] Multicorn: https://multicorn.org/ [2] Steampipe: https://steampipe.io/ [2] pgx: https://github.com/tcdi/pgx
comment by kiwicopple · 2022-12-15 · in Supabase Wrappers: A framework for building Postgres foreign data wrappers -
You might want to have a look at Pgx: https://github.com/tcdi/pgx
comment by giovannibonetti · 2022-12-13 · in SQLite-loadable-rs: A framework for building SQLite Extensions in Rust -
…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
comment by senthilnayagam · 2022-12-13 · in SQLite-loadable-rs: A framework for building SQLite Extensions in Rust -
…[0] Yjs: https://github.com/yjs/yjs [1] Automerge: https://github.com/automerge/automerge [3] pgx: https://github.com/tcdi/pgx
comment by kiwicopple · 2022-12-10 · in Show HN: Pg_CRDT – an experimental CRDT extension for Postgres -
There's https://github.com/tcdi/pgx for writing extensions in rust.
comment by jpnc · 2022-11-03 · in Apache AGE, a PostgreSQL extension with graph database functionality -
…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 -
…time to be all-in on Postgres. [0]: https://supabase.com/blog/choosing-a-postgres-primary-key [1]: https://github.com/tcdi/pgx
comment by hardwaresofton · 2022-09-11 · in Show HN: pg_idkit, a Postgres extension for generating exotic UUIDs -
…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 -
…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
comment by hardwaresofton · 2022-07-21 · in Show HN: Pg_jsonschema – A Postgres extension for JSON validation -
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 -
…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 -
…https://github.com/timescale/timescaledb-toolkit [3]: https://github.com/timescale/timescaledb [4]: https://github.com/zombodb/pgx
comment by djk447 · 2021-10-19 · in Function pipelines: Building functional programming into PostgreSQL -
Regarding deep copies, have you considered writing it as a plugin in something like rust? https://github.com/zombodb/pgx
comment by atonse · 2021-04-05 · in PostGIS – Spatial and Geographic Objects for PostgreSQL -
…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…
comment by grzm · 2021-01-23 · in Postgres: The Batteries Included Database -
https://github.com/zombodb/pgx/releases/tag/v0.0.7 !boom!
comment by zombodb · 2020-07-20 · in PGX: Write Postgres extensions in Rust instead of C -
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:…
comment by zombodb · 2020-07-13 · in PGX: Write Postgres extensions in Rust instead of C