[GENERAL] How to 'register' functions, so they can be called (plpythonu)

2007-09-04 Thread blay bloo
I am defining some functions using plpythonu, through the standard means. Here I have one function (test1) which calls another (testfunc). When I excute this I get the following error: ERROR: plpython: function "test1" failed DETAIL: : global name 'testfunc' is not defined However, from the co

Re: [GENERAL] How to 'register' functions, so they can be called (plpythonu)

2007-09-06 Thread blay bloo
> I believe the python embedder mangles the function names when it loads > them into PG, so you can't call them directly. do you think it possible to use the internal system catalogs to lookup the 'mangled' names? ---(end of broadcast)--- TIP 5: do