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

2006-02-25 Thread Tom Lane
James Robinson [EMAIL PROTECTED] 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

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

2006-02-25 Thread Harald Armin Massa
Tom,This sort of thing normally requires more thought than just removingthe safety check.What happens when the python code does/doesn't return a value, in both cases (declared return type void or not)?python functions are specified to return None, if no return is given. I recommend to also see a

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

2006-02-25 Thread James Robinson
On Feb 25, 2006, at 12:10 PM, Tom Lane wrote: James Robinson [EMAIL PROTECTED] 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

[PATCHES] TID: operator

2006-02-25 Thread Neil Conway
Attached is a patch that implements for the tid type. This is based on a patch submitted by Mark Kirkwood in October of 2005. I added some regression tests, avoided unnecessarily renumbering a few OIDs in the system catalogs, and bumped the catversion. Barring any objections I'll apply this