Re: Can functions return NULL value? - Mailing list pgsql-interfaces

From Hannu Krosing
Subject Re: Can functions return NULL value?
Date
Msg-id 3917FC8D.612D303F@tm.ee
Whole thread Raw
In response to Can functions return NULL value?  (Andrea Austa <aausta@athena.polito.it>)
Responses Re: Can functions return NULL value?
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: Can functions return NULL value?
Next
From: Tom Lane
Date:
Subject: Re: Can functions return NULL value?