Received: from sss2.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA96379 for ; Mon, 10 Apr 2000 10:03:29 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss2.sss.pgh.pa.us (8.9.3/8.9.3) with ESMTP id KAA15539; Mon, 10 Apr 2000 10:03:16 -0400 (EDT) To: Angel Manuel Diaz Aunion cc: "pgsql-sql@postgresql.org" Subject: Re: Function In-reply-to: <38F18D40.7B7C1D92@ipf.uni-karlsruhe.de> References: <38F18D40.7B7C1D92@ipf.uni-karlsruhe.de> Comments: In-reply-to Angel Manuel Diaz Aunion message dated "Mon, 10 Apr 2000 10:13:52 +0200" Date: Mon, 10 Apr 2000 10:03:16 -0400 Message-ID: <15536.955375396@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200004/90 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