Re: Compiling extensions on Windows

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Compiling extensions on Windows
Дата
Msg-id CABUevEzq4G0XD5Yw-2nBoWk8rPZ6dTKEz_uP8B7E1vVnZXT6ew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Compiling extensions on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Compiling extensions on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Jan 11, 2014 at 5:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Craig Ringer <craig@2ndquadrant.com> writes:
> We don't set __declspec(dllexport) on extension functions automatically
> when building stand-alone on Windows. So it's necessary to explicitly
> specify PGDLLEXPORT for each function.

I'm not sure I believe this.  I don't see any PGDLLEXPORT symbols in any
of the standard contrib modules; how is it that they work?

They are built through our perl toolkit, which enables exporting of *all* symbols, regardless of flags in the code. 

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Standalone synchronous master
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [PATCH] pg_basebackup: progress report max once per second