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

From: James Robinson <jlrobins(at)socialserve(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: 2 line patch to allow plpythonu functions to return void ...
Date: 2006-02-25 04:36:51
Message-ID: A7F41688-203C-4CE1-8DE5-49020C9EDB60@socialserve.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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 ... .

Allowed following trivial test function to succeed:

create or replace function set_gd(int) returns void as
$$
GD['global_count'] = args[0]
$$ language plpythonu volatile;

Attachment Content-Type Size
allow_plpython_return_void.diff application/octet-stream 644 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-02-25 17:10:00 Re: 2 line patch to allow plpythonu functions to return void ...
Previous Message Bruce Momjian 2006-02-25 02:28:30 Re: pg_service.conf