Re: Help with User-defined function in PostgreSQL with Visual C++

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, Esteban Zimanyi <estebanzimanyi(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Help with User-defined function in PostgreSQL with Visual C++
Date: 2010-09-28 00:51:29
Message-ID: AANLkTimmUJkO0h1urSCYZ3MLokBc0rpp0Lgmt7Y_UC_1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 27, 2010 at 8:45 PM, Itagaki Takahiro
<itagaki(dot)takahiro(at)gmail(dot)com> wrote:
> On Tue, Sep 28, 2010 at 5:13 AM, Euler Taveira de Oliveira
> <euler(at)timbira(dot)com> wrote:
>> Itagaki Takahiro escreveu:
>>> I had the same problems before, and I wrote some hacks for VC++.
>>>
>> Isn't there such a code in core or am i missing something? Is it worth
>> supporting the VC++ standalone projects?
>
> Since we have PGDLLEXPORT in 9.0, we can mark some of exported
> functions with it in tutorial codes and maybe contrib modules.
>
> Is it worth doing?  We don't need the marks in our build environment,
> but they might help users referencing our codes in standalone VC++ projects.

If that (a) works and (b) reduces user confusion, +1 from me. We've
gotten this question a few times lately.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-09-28 01:07:33 Re: security label support, revised
Previous Message Itagaki Takahiro 2010-09-28 00:45:10 Re: Help with User-defined function in PostgreSQL with Visual C++