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

From Gavin Sherry
Subject Re: Missing library files??
Date
Msg-id Pine.LNX.4.21.0206192342270.24742-100000@linuxworld.com.au
Whole thread Raw
In response to Re: Missing library files??  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg and bison again
Next
From: "Tony Griffiths(RA)"
Date:
Subject: Re: Missing library files??