Hi,
On July 20, 2022 4:20:04 PM GMT+02:00, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> I suppose you're probably thinking of commit 53ef6c40f1e7; that didn't
>> expose functions directly, but through plpgsql_plugin_ptr. Maybe that
>> one does need to be made PGDLLEXPORT, since currently it isn't.
>
>Hm. Not sure if the rules are the same for global variables as
>they are for functions, but if so, yeah ...
They're the same on the export side. On windows the rules for linking to variables are stricter (they need declspec
dllimport),but that doesn't matter for dlsym style stuff.
Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.