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

From Tom Lane
Subject Re: C Function returning a tuple with a float4 array as column
Date
Msg-id 26366.1291649616@sss.pgh.pa.us
Whole thread Raw
In response to Re: C Function returning a tuple with a float4 array as column  (Tim <tim.child@comcast.net>)
Responses Re: C Function returning a tuple with a float4 array as column  (Tim <tim.child@comcast.net>)
List pgsql-novice
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: mike@if-then-else.pl
Date:
Subject: Re: Duplicate data within tables
Next
From: Tim
Date:
Subject: Re: C Function returning a tuple with a float4 array as column