macOS
brew install pgrxlocal Homebrew formula metadata
brew / rank 7195
Build Postgres Extensions with Rust. Version 0.19.2 via Homebrew; verified 2026-09-13. Also installable with pacman: sudo pacman -S cargo-pgrx.
install
brew install pgrxlocal Homebrew formula metadata
sudo pacman -S cargo-pgrxArch Linux sync databases · cargo-pgrx · source: geo.mirror.pkgbuild.com
overview
Build Postgres Extensions with Rust
history
pgrx is a Rust framework and Cargo-based toolchain for building, running, testing, and packaging PostgreSQL extensions.
The project was originally known as pgx and later adopted the pgrx name, with its Cargo command becoming cargo-pgrx and its default home moving from ~/.pgx to ~/.pgrx. It is now maintained under the PostgreSQL Central Foundation organization.
The project grew into a workspace of Rust crates covering PostgreSQL bindings, extension APIs, SQL generation, testing, packaging, and the cargo-pgrx development command.
pgrx is distributed as Rust crates, while cargo-pgrx is installed as a Cargo subcommand; system packages including Homebrew and Arch's cargo-pgrx package provide additional installation paths. The framework supports extension development and testing across multiple PostgreSQL major versions.
Developers install cargo-pgrx, run cargo pgrx init to configure or build supported PostgreSQL installations, create an extension with cargo pgrx new, and use run, test, schema, install, and package commands throughout development.
pgrx gives Rust developers a package-native route into PostgreSQL's C-oriented extension ABI. Its combination of procedural macros, generated SQL schemas, PostgreSQL version management, packaging, and integrated testing makes it both a framework and a specialized build toolchain.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.pgrx/config.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cargo-pgrx | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/pgcentralfoundation/pgrx
install metadata
| Package key | brew:pgrx |
|---|---|
| Version | 0.19.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pgrx |
| Homepage | https://github.com/pgcentralfoundation/pgrx |
| Repository | https://github.com/pgcentralfoundation/pgrx |
| License | MIT |
| Source archive | https://github.com/pgcentralfoundation/pgrx/archive/refs/tags/v0.19.2.tar.gz |
| Last updated | 2026-09-13T11:30:25Z |
| Pulse | updated |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pgrx |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cargo-pgrx 0.19.2-1
Build PostgreSQL extensions with Rust
https://github.com/pgcentralfoundation/pgrx
sudo pacman -S cargo-pgrxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.