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

From Tony Griffiths(RA)
Subject Re: Missing library files??
Date
Msg-id 3D1087B8.7010100@cs.man.ac.uk
Whole thread Raw
In response to Missing library files??  ("Tony Griffiths(RA)" <griffitt@cs.man.ac.uk>)
Responses Re: Missing library files??  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Lee Kindness
Date:
Subject: Re: ecpg and bison again
Next
From: Michael Meskes
Date:
Subject: Re: ecpg and bison again