From: Angel Manuel Diaz Aunion <angel@ipf.uni-karlsruhe.de>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Function
Date: Tue, 11 Apr 2000 17:08:43 +0200
Message-ID: <38F33FFB.9CA4B73@ipf.uni-karlsruhe.de> (raw)
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
I have received your response about how a function, which output value
is an array, can be created (e-mail 10.04.99), but I get always the same
resultat. Would you be so kind as to write an example of a function,
which output value is an array ?
Thank you very much.
Angel Manuel Diaz Aunion
Institut fuer Photogrametrie und Fernerkundung.
Universitaet Karlsruhe.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: angel@ipf.uni-karlsruhe.de
Subject: Re: Function
In-Reply-To: <38F33FFB.9CA4B73@ipf.uni-karlsruhe.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox