From: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
---|---|
To: | "Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)uk> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Missing library files?? |
Date: | 2002-06-19 13:44:21 |
Message-ID: | Pine.LNX.4.21.0206192342270.24742-100000@linuxworld.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 19 Jun 2002, Tom Lane wrote:
> "Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-06-19 13:47:04 | Re: Why is CacheMemoryContext declared DLLIMPORT in one place and not in another? |
Previous Message | Tony Griffiths(RA) | 2002-06-19 13:43:34 | Re: Missing library files?? |