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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 2 line patch to allow plpythonu functions to return void ...
Дата
Msg-id 11582.1140887400@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 2 line patch to allow plpythonu functions to return void ...  (James Robinson <jlrobins@socialserve.com>)
Ответы Re: 2 line patch to allow plpythonu functions to return void ...  ("Harald Armin Massa" <haraldarminmassa@gmail.com>)
Re: 2 line patch to allow plpythonu functions to return void ...  (James Robinson <jlrobins@socialserve.com>)
Re: 2 line patch to allow plpythonu functions to return  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
James Robinson <jlrobins@socialserve.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

В списке pgsql-patches по дате отправления:

Предыдущее
От: James Robinson
Дата:
Сообщение: 2 line patch to allow plpythonu functions to return void ...
Следующее
От: "Harald Armin Massa"
Дата:
Сообщение: Re: 2 line patch to allow plpythonu functions to return void ...