pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.7k stars 249 forks source link

Added connect_mut for data changing SPI operations #1913

Open YohDeadfall opened 1 month ago

YohDeadfall commented 1 month ago

The idea is to make the connect_mut function which then can be used for mutating operations with SPI. That should be used instead of the current SqlClient passed by value and mut modifier in closure arguments.

That's a breaking change, so waits till 0.13.

eeeebbbbrrrr commented 2 days ago

This one appears to have bitrotted a little bit. Yoh, if you wanna bring it back to life we can probably get it merged.