6 ms·
Does it support the extension ecosystem? Or would extensions need to be rewritten as well?
by mebcitto 2mo ago
Does it support the extension ecosystem? Or would extensions need to be rewritten as well?
- ZiiS 2mo agoThey would need rewriting (a few are included)
- malisper 2mo agoIt is theoretically possible to have a Rust port of Postgres support extensions. If you make all the relevant functions and structures ABI compatible with Postgres, extensions should work. The issue is the moment you're dealing with C pointers and C strings, pretty much all the code you have to write is unsafe.
- mebcitto 2mo agoPerhaps pure pgrx extensions would make sense as a first target?
- jeltz 2mo agoThey would need to be rewritten as there is no formal extension API. Extensions can call into almost any part of PostgreSQL.