5 stable releases
new 1.1.3 | May 24, 2023 |
---|---|
1.1.2 | May 14, 2023 |
1.1.1 | Apr 27, 2023 |
1.1.0 | Apr 25, 2023 |
1.0.0 | Apr 24, 2023 |
#393 in Algorithms
101 downloads per month
7KB
104 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
~19MB
~519K SLoC