On Wed, 19 Jun 2002, Tom Lane wrote:
> "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.
You can access this function using the Fast Path Interface. See the libpq
documentation. However, I am unsure why you would want to get access to
this function on the client side.
Gavin