4 releases (1 stable)
1.0.0 | Apr 3, 2023 |
---|---|
1.0.0-rc.1 | Mar 14, 2023 |
1.0.0-rc.0 | Feb 24, 2023 |
0.0.0-do-not-use | Feb 24, 2023 |
#1109 in Database interfaces
60 downloads per month
7KB
103 lines
plrust-trusted-pgx
is a re-export crate based on pgx
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 pgx extension development, but you shouldn't. It's intended for use only with plrust.
lib.rs
:
plrust-trusted-pgx
is a re-export crate based on pgx which exposes
the minimal set of pgx
internals necessary for plrust
function compilation. plrust-trusted-pgx
also includes a number of Rust types for interoperating with Postgres types, access to Postgres'
"SPI", logging, and trigger support.
Dependencies
~21MB
~528K SLoC