tcdi / plrust

A Rust procedural language handler for PostgreSQL
PostgreSQL License
1.12k stars 32 forks source link

Add dynamic function call support #390

Closed eeeebbbbrrrr closed 11 months ago

eeeebbbbrrrr commented 1 year ago

This adds support for pgrx' fn_call interface that enables calling other schema-defined functions dynamically.

The only code changes, as it were, are in the plrust-trusted-pgrx reexport crate. The bulk of this PR is adding a little chapter to the book along with a simple unit test.

eeeebbbbrrrr commented 11 months ago

The two CI failures are on pg16 x86 b/c of that stupid simd stuff pg16 introduced. Today isn't the day to play whackamole to fix up CI.