From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Craig Ringer <craig(at)2ndquadrant(dot)com>, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Dave Page <dpage(at)pgadmin(dot)org> |
Subject: | Re: Compiling extensions on Windows |
Date: | 2014-01-11 16:32:38 |
Message-ID: | CABUevEzq4G0XD5Yw-2nBoWk8rPZ6dTKEz_uP8B7E1vVnZXT6ew@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Jan 11, 2014 at 5:00 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Craig Ringer <craig(at)2ndquadrant(dot)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/
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2014-01-11 16:38:27 | Re: [PATCH] pg_basebackup: progress report max once per second |
Previous Message | Bruce Momjian | 2014-01-11 16:18:41 | Re: pg_upgrade & tablespaces |