#postgresql-extension #pgrx

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

#5 in #pgrx

Download history 89/week @ 2024-07-20 140/week @ 2024-07-27 108/week @ 2024-08-03 182/week @ 2024-08-10 219/week @ 2024-08-17 155/week @ 2024-08-24 65/week @ 2024-08-31 68/week @ 2024-09-07 101/week @ 2024-09-14 210/week @ 2024-09-21 135/week @ 2024-09-28 213/week @ 2024-10-05 285/week @ 2024-10-12 361/week @ 2024-10-19 185/week @ 2024-10-26 99/week @ 2024-11-02

948 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

~25MB
~563K SLoC