From: Hannu Krosing <hannu@tm.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrea Austa <aausta@athena.polito.it>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Can functions return NULL value?
Date: Tue, 09 May 2000 14:54:53 +0300
Message-ID: <3917FC8D.612D303F@tm.ee> (raw)
References: <20000508230715.D1035@giuditta.trustnoone.org>
<4456.957829041@sss.pgh.pa.us>
Tom Lane wrote:
>
> Andrea Austa <aausta@athena.polito.it> writes:
> > Can a function, written in C, return a NULL value?
> > I would like write code like this:
>
> > text * getnull (text * t)
> > {
> > return NULL;
> > }
>
> > but it doesn't work, the backend terminates abnormally.
>
> This will be possible in 7.1 with the new function manager interface.
> Right now, it's not possible.
Who is doing the new function manager interface.
Is there a preliminary description somewhere ?
What is the planned timetable?
I ask because friend of mine is working on plpython (and has the
basics working) on current code but he is quite turned off by the
ugliness of current function manager (and SPI interface).
----------------
Hannu
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-interfaces@postgresql.org
Cc: hannu@tm.ee, tgl@sss.pgh.pa.us, aausta@athena.polito.it
Subject: Re: Can functions return NULL value?
In-Reply-To: <3917FC8D.612D303F@tm.ee>
* 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