logoalt Hacker News

mebcittoyesterday at 7:37 AM3 repliesview on HN

Does it support the extension ecosystem? Or would extensions need to be rewritten as well?


Replies

malisperyesterday at 9:38 AM

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.

show 1 reply
jeltzyesterday at 10:19 PM

They would need to be rewritten as there is no formal extension API. Extensions can call into almost any part of PostgreSQL.

ZiiSyesterday at 7:51 AM

They would need rewriting (a few are included)