Re: Function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Angel Manuel Diaz Aunion <angel(at)ipf(dot)uni-karlsruhe(dot)de>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Function
Date: 2000-04-10 14:03:16
Message-ID: 15536.955375396@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Angel Manuel Diaz Aunion <angel(at)ipf(dot)uni-karlsruhe(dot)de> writes:
> I want a function, chich output value is an array, and when I create the
> function, it is defined as follows:

>> create function path_inte(path,path) returns _point
>> as '/net/ipfy/angel/postgres/geometry/libMWgeom.so' language 'c';
>>
>> When the function is used, the resultat is always: "{}", so I do not
>> Know if:
> -the function is not well defined, or
> -the output value can not be an array

I don't know of any reason why a C function couldn't return an array,
so the problem is probably in your code...

regards, tom lane

In response to

  • Function at 2000-04-10 08:13:52 from Angel Manuel Diaz Aunion

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ingram, Bryan 2000-04-10 16:26:42 Threaded Records in SQL: Advice Needed
Previous Message Peter Eisentraut 2000-04-10 10:10:34 Re: JOINs support