Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group