Re: PGDLLEXPORTing all GUCs?

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: PGDLLEXPORTing all GUCs?
Дата
Msg-id 536A428D.50805@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: PGDLLEXPORTing all GUCs?  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 05/07/2014 09:45 PM, Andres Freund wrote:
> I think what Craig actually tries to propose is to mark all GUCs
> currently exported in headers PGDLLIMPORT. Currently it's easy to have
> extensions that work on sane systems but not windows. If they're already
> exposed in headers I don't think changes get any harder just because thy
> also can get used on windows...

Yes, rather.

Exporting GUCs that're currently static wouldn't make sense.

I'm just taking about making what works on !windows work on Windows. If
a GUC is declared extern in a header, it should be PGDLLIMPORT.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: bgworker crashed or not?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PGDLLEXPORTing all GUCs?