On Fri, Feb 18, 2011 at 2:04 AM, Alessandro Candini wrote:
>> On Thu, Feb 17, 2011 at 4:16 AM, Alessandro Candini
>> wrote:
>>>
>>> I'm dealing witch a C function embedded into postgresql-9.0.2.
>>>
>>> I'm returning a set of rows and following the example here
>>> http://www.postgresql.org/docs/
I see that dblink is 2500 lines more or less...
Is there anyone how to set up correctly the 2 lines I posted before?
I will explore SPI anyway hoping it will gett my life easier...
On Thu, Feb 17, 2011 at 4:16 AM, Alessandro Candini wrote:
I'm dealing witch a C function embedded into postgres
On Thu, Feb 17, 2011 at 4:16 AM, Alessandro Candini wrote:
> I'm dealing witch a C function embedded into postgresql-9.0.2.
>
> I'm returning a set of rows and following the example here
> http://www.postgresql.org/docs/9.0/static/xfunc-c.html everything works
> fine, but only if I use the C strin
I'm dealing witch a C function embedded into postgresql-9.0.2.
I'm returning a set of rows and following the example here
http://www.postgresql.org/docs/9.0/static/xfunc-c.html everything works
fine, but only if I use the C string approach.
I'm using libpq to retrieve data and something like