Re: Missing library files?? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Missing library files??
Date
Msg-id 3644.1024492428@sss.pgh.pa.us
Whole thread Raw
In response to Missing library files??  ("Tony Griffiths(RA)" <griffitt@cs.man.ac.uk>)
Responses Re: Missing library files??
List pgsql-hackers
"Tony Griffiths(RA)" <griffitt@cs.man.ac.uk> writes:
> I'm trying to invoke the DirectFunctionCall1function as follows:
> ...
> from some client side code, but get linker errors stating that:

> -> undefined reference to `DirectFunctionCall1(unsigned long 
> (*)(FunctionCallInfoData*), unsigned long)'

> Is this because I'm calling the function incorrectly, or because I'm 
> missing the library in which these functions reside?

There *is* no "library in which those functions reside".  They are
internal to the server and are not designed to be included in
client-side code.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: ECPG won't compile anymore
Next
From: Lee Kindness
Date:
Subject: Re: ecpg and bison again