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

From Robert Haas
Subject Re: Help with User-defined function in PostgreSQL with Visual C++
Date
Msg-id AANLkTin-t=QKaFokoig7ufb_2JGRGB2XNzh7BkNBnry4@mail.gmail.com
Whole thread Raw
In response to Re: Help with User-defined function in PostgreSQL with Visual C++  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Responses Re: Help with User-defined function in PostgreSQL with Visual C++  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
List pgsql-hackers
On Mon, Sep 27, 2010 at 11:09 PM, Itagaki Takahiro
<itagaki.takahiro@gmail.com> wrote:
> On Tue, Sep 28, 2010 at 9:51 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>>> Since we have PGDLLEXPORT in 9.0, we can mark some of exported
>>> functions with it in tutorial codes and maybe contrib modules.
>>
>> If that (a) works and (b) reduces user confusion, +1 from me.  We've
>> gotten this question a few times lately.
>
> If we do so, many PGDLLEXPORT will be added:
>  *  17 in src/tutorial
>  * 507 in contrib
> for each exported PGFunction, _PG_init, and _PG_fini.
>
> Any objections? Am I missing something?

Oh - I didn't realize this meant marking lots of things in contrib
that didn't otherwise need to be marked.  Why do other people need
this if we don't?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: Help with User-defined function in PostgreSQL with Visual C++
Next
From: Robert Haas
Date:
Subject: Re: proposal: tsearch dictionary initialization hook