On Sun, 2006-02-26 at 18:40 -0500, Neil Conway wrote:
> Tom Lane wrote:
> > This sort of thing normally requires more thought than just removing
> > the safety check.  What happens when the python code does/doesn't return
> > a value, in both cases (declared return type void or not)?
> Attached is a more complete patch: [...]

Applied to HEAD. I'm still not quite satisfied with the error message:

           errmsg("unexpected return value from plpython procedure"),
           errdetail("void-returning functions must return \"None\"")));

Suggestions for something better?


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to