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.