pgrx icon indicating copy to clipboard operation
pgrx copied to clipboard

Build Postgres Extensions with Rust!

Results 374 pgrx issues
Sort by recently updated
recently updated
newest added

Code: ```rust pub type Output = TableIterator

enhancement
sql-gen
schema
pgrx-iter

I want to listen to changes in variables created by GucRegistry. I checked the source there is no way to pass an assign_hook function with the define series functions. Could...

Hello pgrx team, I noticed this comment and code: https://github.com/pgcentralfoundation/pgrx/blob/b1868d81b3c09c25e5e30a904e89a40dc702c459/pgrx-sql-entity-graph/src/control_file.rs#L125 ``` `trusted` is irrelevant if `superuser` is false. ``` I don't think this is accurate in postgres. I have a...

Used clippy to find `clippy::needless_lifetimes` and fix them

`cargo install cargo-pgrx` causes: ``` Compiling cargo-edit v0.13.2 error[E0425]: cannot find function `get_latest_dependency` in crate `cargo_edit` --> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-pgrx-0.13.1/src/command/upgrade.rs:132:46 | 132 | let dependency = cargo_edit::get_latest_dependency( | ^^^^^^^^^^^^^^^^^^^^^ not found in...

**execute _cargo pgrx init --pg16=/etc/postgresql/16/main/postgresql.conf_** **environment:Ubuntu 24.04 in WSL** **output** Validating /etc/postgresql/16/main/postgresql.conf Error: 0: Permission denied (os error 13) Location: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pgrx-pg-config-0.12.9/src/lib.rs:446 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0: cargo_pgrx::command::init::init_pgrx at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgrx-0.12.9/src/command/init.rs:163 1: cargo_pgrx::command::init::execute...

[PostgresML](https://github.com/postgresml/postgresml/tree/master/pgml-extension) pgrx extension linking fails on MacOS 15 (but succeeds on Ubuntu) with Rust 1.84.0 and the following output. Are there any known issues with this config? ``` error: linking...

Hi all. As an exercise I rewrote an extension similar to pg_stats_statements where the extension counts the number of queries fired in a given time period. When benchmarking my Rust...