pgrx
Build Postgres Extensions with Rust!
pgrx is a framework for developing PostgreSQL extensions in Rust and strives to be as idiomatic and safe as possible.
pgrx supports Postgres 13 through Postgres 18.
Want to chat with us or get a question answered?
Please join our Discord Server.
We are also in need of financial sponsorship.
Key Features
A fully managed development environment with cargo-pgrx cargo pgrx new : Create new extensions quickly cargo pgrx init : Install new (or register existing) PostgreSQL installs cargo pgrx run : Run your extension and interactively test it in psql (or pgcli ) cargo pgrx test : Unit-test your extension across multiple PostgreSQL versions cargo pgrx package : Create installation packages for your extension More in the README.md !
Target Multiple Postgres Versions Support from Postgres 13 to Postgres 17 from the same codebase Use Rust feature gating to use version-specific APIs Seamlessly test against all versions
... continue reading