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 ...
regards, tom lane
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.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера