pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Angel Manuel Diaz Aunion <angel@ipf.uni-karlsruhe.de>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: Function
Date: Mon, 10 Apr 2000 10:03:16 -0400
Message-ID: <15536.955375396@sss.pgh.pa.us> (raw)
In-Reply-To: <38F18D40.7B7C1D92@ipf.uni-karlsruhe.de>
References: <38F18D40.7B7C1D92@ipf.uni-karlsruhe.de>

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



view thread (22+ messages)  latest in thread

Message-ID: <15536.955375396@sss.pgh.pa.us>
Permalink:  ../15536.955375396@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15536.955375396@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, angel@ipf.uni-karlsruhe.de
  Subject: Re: Function
  In-Reply-To: <15536.955375396@sss.pgh.pa.us>

* 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