Re: Missing library files??
От | Tony Griffiths(RA) |
---|---|
Тема | Re: Missing library files?? |
Дата | |
Msg-id | 3D108A86.5010402@cs.man.ac.uk обсуждение исходный текст |
Ответ на | Re: Missing library files?? (Gavin Sherry <swm@linuxworld.com.au>) |
Список | pgsql-hackers |
<br /><br /> Gavin Sherry wrote:<br /><blockquote cite="mid:Pine.LNX.4.21.0206192342270.24742-100000@linuxworld.com.au" type="cite"><prewrap="">On Wed, 19 Jun 2002, Tom Lane wrote:<br /><br /></pre><blockquote type="cite"><pre wrap="">"TonyGriffiths(RA)" <a class="moz-txt-link-rfc2396E" href="mailto:griffitt@cs.man.ac.uk"><griffitt@cs.man.ac.uk></a>writes:<br /></pre><blockquote type="cite"><pre wrap="">I'mtrying to invoke the DirectFunctionCall1function as follows:<br />...<br />from some client side code, but getlinker errors stating that:<br /></pre></blockquote><blockquote type="cite"><pre wrap="">-> undefined reference to`DirectFunctionCall1(unsigned long <br />(*)(FunctionCallInfoData*), unsigned long)'<br /></pre></blockquote><blockquotetype="cite"><pre wrap="">Is this because I'm calling the function incorrectly, or becauseI'm <br />missing the library in which these functions reside?<br /></pre></blockquote><pre wrap="">There *is* no"library in which those functions reside". They are<br />internal to the server and are not designed to be included in<br/>client-side code.<br /></pre></blockquote><pre wrap=""><br />You can access this function using the Fast Path Interface.See the libpq<br />documentation. However, I am unsure why you would want to get access to<br />this function onthe client side.</pre></blockquote><br /> I'm retrieving a box value via embedded sql, and wanted to use the box_in methodto decode the retrieved string - unless there's a direct way of retrieving into a variable of the C type BOX??<br /><br/><blockquote cite="mid:Pine.LNX.4.21.0206192342270.24742-100000@linuxworld.com.au" type="cite"><pre wrap=""><br /><br/>Gavin<br /><br /><br /></pre></blockquote><br />
В списке pgsql-hackers по дате отправления: