#postgresql #re-exports #spi #data-access #logging #triggers #plrust

plrust-trusted-pgrx

Minimal set of pgrx rexports for plrust, which the authors have deemed trusted

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

#853 in Database interfaces

Download history 571/week @ 2024-01-21 150/week @ 2024-01-28 163/week @ 2024-02-04 148/week @ 2024-02-11 156/week @ 2024-02-18 326/week @ 2024-02-25 230/week @ 2024-03-03 147/week @ 2024-03-10 151/week @ 2024-03-17 42/week @ 2024-03-24 115/week @ 2024-03-31 122/week @ 2024-04-07 55/week @ 2024-04-14 47/week @ 2024-04-21 83/week @ 2024-04-28 133/week @ 2024-05-05

326 downloads per month

PostgreSQL

8KB
120 lines

crates.io badge docs.rs badge

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

~21MB
~460K SLoC