Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ben Ali Rachid <souliman239(at)yahoo(dot)fr>
Cc: craig(at)postnewspapers(dot)com(dot)au, pgsql-general(at)postgresql(dot)org
Subject: Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?
Date: 2009-03-22 16:57:05
Message-ID: 13871.1237741025@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ben Ali Rachid <souliman239(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message RebeccaJ 2009-03-22 17:36:37 Re: text column constraint, newbie question
Previous Message Ben Ali Rachid 2009-03-22 16:27:58 Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?