Re: Compiling extensions on Windows - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Compiling extensions on Windows
Date
Msg-id CABUevEzq4G0XD5Yw-2nBoWk8rPZ6dTKEz_uP8B7E1vVnZXT6ew@mail.gmail.com
Whole thread Raw
In response to Re: Compiling extensions on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Compiling extensions on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Standalone synchronous master
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pg_basebackup: progress report max once per second