13 stable releases
1.2.8 | Mar 8, 2024 |
---|---|
1.2.7 | Nov 19, 2023 |
1.2.6 | Sep 14, 2023 |
1.2.4-beta.pg16b3 | Aug 10, 2023 |
1.1.1 | Apr 27, 2023 |
#5 in #pgrx
948 downloads per month
8KB
120 lines
plrust-trusted-pgrx
is a re-export crate based on pgrx
which exports the minimal set
of capabilities necessary to compile plrust
user functions along with safe access to
various parts of Postgres including some data types, logging, Spi, and triggers.
You might be tempted to use this for your own pgrx extension development, but you shouldn't. It's intended for use only with plrust.
lib.rs
:
plrust-trusted-pgrx
is a re-export crate based on pgrx which exposes
the minimal set of pgrx
internals necessary for plrust
function compilation. plrust-trusted-pgrx
also includes a number of Rust types for interoperating with Postgres types, access to Postgres'
"SPI", logging, and trigger support.
Dependencies
~25MB
~563K SLoC