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

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: (view raw, whole thread or download thread mbox)
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/' 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


pgsql-sql by date

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

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