Received: from ipfe6h.bau-verm.uni-karlsruhe.de (root@ipfe6h.bau-verm.uni-karlsruhe.de [129.13.144.93]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA60160 for ; Tue, 11 Apr 2000 11:08:45 -0400 (EDT) (envelope-from angel@ipf.uni-karlsruhe.de) Received: from ipf.uni-karlsruhe.de (angel@localhost [127.0.0.1]) by ipfe6h.bau-verm.uni-karlsruhe.de (8.9.3/8.9.3) with ESMTP id RAA01087 for ; Tue, 11 Apr 2000 17:08:43 +0200 Message-ID: <38F33FFB.9CA4B73@ipf.uni-karlsruhe.de> Date: Tue, 11 Apr 2000 17:08:43 +0200 From: Angel Manuel Diaz Aunion X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12 i686) X-Accept-Language: en MIME-Version: 1.0 To: "pgsql-sql@postgresql.org" Subject: Function Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200004/106 Angel Manuel Diaz Aunion 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.