Hello,
I try to use the srf API and I have a link error. When I did :
FuncCallContext *funcctx;
...
if (SRF_IS_FIRSTCA LL()){
funcctx = SRF_FIRSTCALL_I NIT(); // If I remove this line, no link error
...
}
I have this link error : "undefined reference to 'init_MultiFunc Call(FunctionCa llInfoData*)'". The init_MultiFuncC al function is in the funcapi.h file, but where...
User Profile
Collapse
-
SRF function : missing library on PostgreSQL 8.3.6 on Windows?
-
Function C and INOUT parameters
Hello,
I have created a function in Postgres. His code is :
In the DLL, I have a function C (it's just a test function) :Code:CREATE OR REPLACE FUNCTION add_one(INOUT arg1 integer, INOUT arg2 integer) [B]RETURNS record[/B] AS '$libdir/myDLL.dll', 'add_one' LANGUAGE 'c' VOLATILE STRICT ;
...Code:void add_one(int arg1, int arg2) { arg1 = arg1 + 1 ; arg2 = arg2 + 1 ;
No activity results to display
Show More