Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows? - Mailing list pgsql-general

From Tom Lane
Subject Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?
Date
Msg-id 13871.1237741025@sss.pgh.pa.us
Whole thread Raw
In response to Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?  (Ben Ali Rachid <souliman239@yahoo.fr>)
List pgsql-general
Ben Ali Rachid <souliman239@yahoo.fr> writes:
> Craig Ringer wrote :
>> - Declare all hook functions that might be dlopen()ed as extern "C"

> Thanks for your advices but I'm not sure to have understood.

PG_FUNCTION_INFO_V1() generates a function that has to have "C" linkage.
So does PG_MODULE_MAGIC.  I'm actually not sure how you got the module
to load at all with the latter point ...

            regards, tom lane

pgsql-general by date:

Previous
From: Ben Ali Rachid
Date:
Subject: Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?
Next
From: Ben Ali Rachid
Date:
Subject: Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?