Build Postgres Extensions with Rust!
docker run -v $(pwd):/usr/src/app shencangsheng/pgrx:13
ls target/release/{plugin_name}-{postgresql_version}/.pgrx/{psql_version}/pgrx-install
Parameter | Description |
---|---|
PSQL_VERSION |
The version of PostgreSQL (optional: 12, 13, 14, 15, 16; default: 13) |
docker build --build-arg PSQL_SUPPORT_VERSION=13 -t example/pgrx:13 .
Parameter | Description |
---|---|
RUST_TAG |
The version tag for Rust, defaulting to 1.83.0-bullseye |
PSQL_SUPPORT_VERSION |
The supported version of PostgreSQL (optional: 12, 13, 14, 15, 16; if not specified, supports all versions) |
PGRX_VERSION |
The version of pgrx, defaulting to 0.11.4 |
CMD |
The command to execute, defaulting to /usr/bin/pgrx-package |
A short snippet describing the license (MIT)
MIT © Cangsheng Shen