pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.65k stars 248 forks source link

Draw the rest of the ̶o̶w̶l̶ new ABI-handling framework #1661

Open workingjubilee opened 6 months ago

workingjubilee commented 6 months ago

brain recently tied together the rest of the connections necessary for implementing all of https://github.com/pgcentralfoundation/pgrx/issues/1337 and thus finishing out the fixes that ultimately address the soundness issues revealed by the Spi bugs we found.

workingjubilee commented 5 months ago

We still need to introduce some transition code here for cases where it isn't as obvious a breakage, but implementing the new RetAbi was more successful in preserving functionality than I expected, and most of the errors produced are straightforward type errors now, so I'm making more hard breaks.

workingjubilee commented 4 months ago

The first piece of this has slid into place, as #1731 now makes it possible, in conjunction with #1701, to have a single pg_extern function be lifetime-checked on its arguments and return types.