Re: Function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Function
Дата
Msg-id 15536.955375396@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Function  (Angel Manuel Diaz Aunion <angel@ipf.uni-karlsruhe.de>)
Ответы How to do this in PostgreSQL?  ("Robert Nosko" <robertn@eori.net.pl>)
Список pgsql-sql
Angel Manuel Diaz Aunion <angel@ipf.uni-karlsruhe.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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: JOINs support
Следующее
От: "Ingram, Bryan"
Дата:
Сообщение: Threaded Records in SQL: Advice Needed