Re: Missing library files??
От | Tony Griffiths(RA) |
---|---|
Тема | Re: Missing library files?? |
Дата | |
Msg-id | 3D1087B8.7010100@cs.man.ac.uk обсуждение исходный текст |
Ответ на | Missing library files?? ("Tony Griffiths(RA)" <griffitt@cs.man.ac.uk>) |
Ответы |
Re: Missing library files??
|
Список | pgsql-hackers |
<br /><br /> Tom Lane wrote:<br /><blockquote cite="mid:3644.1024492428@sss.pgh.pa.us" type="cite"><pre wrap="">"Tony Griffiths(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'm trying to invoke the DirectFunctionCall1function as follows:<br/>...<br />from some client side code, but get linker errors stating that:<br /></pre></blockquote><pre wrap=""><br/></pre><blockquote type="cite"><pre wrap="">-> undefined reference to `DirectFunctionCall1(unsigned long <br/>(*)(FunctionCallInfoData*), unsigned long)'<br /></pre></blockquote><pre wrap=""><br /></pre><blockquote type="cite"><prewrap="">Is this because I'm calling the function incorrectly, or because I'm <br />missing the library inwhich these functions reside?<br /></pre></blockquote><pre wrap=""><br />There *is* no "library in which those functionsreside". They are<br />internal to the server and are not designed to be included in<br />client-side code.</pre></blockquote>Fair enough - that's what I half expected. I'm wanting to write some embedded sql that selects abox attribute from a relation - is there any direct way of retrieving a BOX typed value from the select without having togo through decoding the retrieved string. I know I can do this using a binary cursor, but this means moving from embeddedsql.<br /><br /> Thanks,<br /><br /> Tony<br /><br /><br /><br /><blockquote cite="mid:3644.1024492428@sss.pgh.pa.us"type="cite"><pre wrap=""><br /><br /> regards, tom lane<br /></pre></blockquote><br/>
В списке pgsql-hackers по дате отправления: