logoalt Hacker News

malispertoday at 9:38 AM1 replyview on HN

It 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.


Replies

mebcittotoday at 9:45 AM

Perhaps pure pgrx extensions would make sense as a first target?