Re: C Function returning a tuple with a float4 array as column - Mailing list pgsql-novice

From Tim
Subject Re: C Function returning a tuple with a float4 array as column
Date
Msg-id 4CFD143C.8030703@comcast.net
Whole thread Raw
In response to Re: C Function returning a tuple with a float4 array as column  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Tom thanks

Problem the was resolved with the  PointerGetDatum correction.

Regards

Tim


On 12/6/2010 7:33 AM, Tom Lane wrote:
> Tim<tim.child@comcast.net>  writes:
>>    So  re-phrasing  my question what  would the code sequence look like
>> to return a  single  composite type, that contained 1 or more arrays?
> If that's where you want to go, then just go there.  The
> single-column-result case is different from the multi-column-result
> case, and I think your code is already correct for the latter (barring
> the PointerGetDatum issue).
>
>             regards, tom lane
>


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: C Function returning a tuple with a float4 array as column
Next
From: Rafael Enrique Ortiz Guerrero
Date:
Subject: Restoring from pg_data