Ben Ali Rachid <souliman239@xxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general