Re: 2 line patch to allow plpythonu functions to return void ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James Robinson <jlrobins(at)socialserve(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: 2 line patch to allow plpythonu functions to return void ...
Date: 2006-02-25 17:10:00
Message-ID: 11582.1140887400@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

James Robinson <jlrobins(at)socialserve(dot)com> writes:
> Shamelessly cloned from the parallel code in pltcl, an exception for
> void in denying pseudotypes being returned. Pl/tcl didn't reference
> VOIDOID anywhere else, so ... .

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)?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Harald Armin Massa 2006-02-25 17:57:32 Re: 2 line patch to allow plpythonu functions to return void ...
Previous Message James Robinson 2006-02-25 04:36:51 2 line patch to allow plpythonu functions to return void ...