pgrx is a Rust framework for developing PostgreSQL extensions, making it easier to write safe, high-performance native extensions in Rust. It handles the boilerplate and unsafe FFI needed to interface with Postgres internals, allowing developers to focus on logic. With built-in support for SQL generation, testing, and deployment, pgrx streamlines the extension creation process while embracing Rust’s safety guarantees.

Features

  • Write PostgreSQL extensions in Rust
  • Automatically generates SQL bindings
  • Test extensions natively in Rust
  • Safe abstractions over Postgres internals
  • Supports triggers, functions, and types
  • CLI tools for building and installing extensions

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow PgRx

PgRx Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PgRx!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Libraries

Registered

2025-06-03