pltcl.c uses __PLTcl_proc_[oid] (in pltcl_func_handler())
but that doesn't work, either.
Looking at the code it looks like it loads a new tcl interpreter for each function call, and only loads that particular function. So is there really no way to do this? Back to PL/PGSQL for me?