Re: pgsql: Default to hidden visibility for extension libraries where possi

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Default to hidden visibility for extension libraries where possi
Дата
Msg-id 1AB5B62F-1730-493B-B454-4A17AAB41094@anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Default to hidden visibility for extension libraries where possi  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: [PATCH] Renumber confusing value for GUC_UNIT_BYTE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Default to hidden visibility for extension libraries where possi