pgcentralfoundation/pgrx
Build Postgres Extensions with Rust! observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 20.5
- age_days: 2450
- days_rel: 34
- days_push: 34
- n_releases_24m: 23
Adoption not part of the score
4767 stars · 330 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pgrx is a Rust framework for developing PostgreSQL extensions, providing idiomatic and safe bindings to Postgres internals. It includes cargo-pgrx, a managed development environment for creating, testing, and packaging extensions across Postgres versions 13 through 19.
Use cases
- write postgres extensions in rust
- create custom postgres functions and UDFs
- define custom postgres types from rust structs
- test an extension against multiple postgres versions
- generate sql schemas automatically from rust code
- write postgres trigger functions in rust
When to choose
- you want to build Postgres extensions with memory safety and idiomatic Rust
- you need first-class support for UDFs, triggers, and custom types
- you want a managed dev workflow (init, run, test, package) via cargo-pgrx
- you must target several Postgres versions from one codebase
When to avoid
- you only need simple SQL or PL/pgSQL extensions without Rust
- you are writing extensions for Postgres versions older than 13
- you need a C-based extension with direct control over Postgres internals
Facets
framework · maturity active
database sdk developer-tools cli testing databases developer-tools backend rust cli postgresql postgres-extensions udf cargo-pgrx sql-generation linux macos
2 sources
- readme: https://github.com/pgcentralfoundation/pgrx · fetched 2026-08-28 · 4138e1c69993
- registry_crates: https://crates.io/api/v1/crates/pgrx · fetched 2026-08-29 · 76d585c12562
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pgcentralfoundation/pgrx | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="pgcentralfoundation/pgrx")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem