Re: Missing library files??

From: "Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Missing library files??
Date: 2002-06-19 13:31:36
Message-ID: 3D1087B8.7010100@cs.man.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.
>
Fair enough - that's what I half expected. I'm wanting to write some
embedded sql that selects a box attribute from a relation - is there any
direct way of retrieving a BOX typed value from the select without
having to go through decoding the retrieved string. I know I can do this
using a binary cursor, but this means moving from embedded sql.

Thanks,

Tony

>
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2002-06-19 13:35:38 Re: ecpg and bison again
Previous Message Lee Kindness 2002-06-19 13:22:08 Re: ecpg and bison again