pgcentralfoundation / pgrx

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

Changed args of prepare methods to be slices #1933

Closed YohDeadfall closed 5 days ago

YohDeadfall commented 3 weeks ago

Since there's an opportunity to break more things for 0.13 I decided to improve the prepare and prepare_mut methods as well. The motivation for that is the same as for #1858, &[] requires no heap allocations on the heap if there's a fixed set of arguments.

workingjubilee commented 1 week ago

sure.