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

From Tom Lane
Subject Re: Compiling extensions on Windows
Date
Msg-id 15135.1389463511@sss.pgh.pa.us
Whole thread Raw
In response to Re: Compiling extensions on Windows  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Compiling extensions on Windows
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Sat, Jan 11, 2014 at 5:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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.

That seems like a perfectly reasonable solution, given the way we use
loadable modules.  Excess symbols in the module shouldn't really do
any harm.  Can't we just document the flags to use for this, if you're
building in some other way?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Standalone synchronous master
Next
From: Bruce Momjian
Date:
Subject: Re: pg_export_snapshot on standby side