Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group