Re: C Function returning a tuple with a float4 array as column

From: Tim <tim(dot)child(at)comcast(dot)net>
To:
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: C Function returning a tuple with a float4 array as column
Date: 2010-12-06 16:50:04
Message-ID: 4CFD143C.8030703@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)child(at)comcast(dot)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
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Rafael Enrique Ortiz Guerrero 2010-12-06 22:26:22 Restoring from pg_data
Previous Message Tom Lane 2010-12-06 15:33:36 Re: C Function returning a tuple with a float4 array as column