Index: plpython.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/pl/plpython/plpython.c,v retrieving revision 1.71 diff -c -r1.71 plpython.c *** plpython.c 20 Feb 2006 20:10:37 -0000 1.71 --- plpython.c 25 Feb 2006 04:30:21 -0000 *************** *** 1034,1039 **** --- 1034,1041 ---- /* Disallow pseudotype result */ if (rvTypeStruct->typtype == 'p') { + if (procStruct->prorettype == VOIDOID) + /* okay for pltcl, so why not plpython?*/ ; if (procStruct->prorettype == TRIGGEROID) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),