Re: Help with User-defined function in PostgreSQL with Visual C++ - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: Help with User-defined function in PostgreSQL with Visual C++
Date
Msg-id AANLkTimSWyuaP4qaZyfhEvYv0-onkpv=TDz7oAeDZA+9@mail.gmail.com
Whole thread Raw
In response to Re: Help with User-defined function in PostgreSQL with Visual C++  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Tue, Sep 28, 2010 at 6:16 PM, Magnus Hagander <magnus@hagander.net> wrote:
> We're talking about the "export all symbols" thing, right? I *don't*
> think we want to recommend people to do that - it creates bloated DLL
> files, for no really good reason. Also, it's not just a matter of a
> msvc project - we do that with a perl hack
>
(http://git.postgresql.org/gitweb?p=postgresql.git;a=blob;f=src/tools/msvc/gendef.pl;h=b8538dd79b8baf21ede87b2ec1aba0276fd3b3d9;hb=62b6aaa40b2abb26edf18d1cd00dffcac090f67a).
> It's not a good way.

What a great hacking!  I agree that it is not recommendable, but users
need to build their codes in different build environment from ours if so.

> We might, however, want to add a specific section to the
> *documentation* about building extensions on Windows

+1. It will be a longer section than ones for other platforms.

-- 
Itagaki Takahiro


pgsql-hackers by date:

Previous
From: Sergey Burladyan
Date:
Subject: Re: UTF8 regexp and char classes still does not work
Next
From: Itagaki Takahiro
Date:
Subject: Re: Commitfest: The Good, The Bad, and the Ugly