I defined a procedure
This works fine. But when I want to call it from another tcl procedure I get errors:
CREATE FUNCTION meta_class (varchar) RETURNS varchar AS ' ... ' LANGUAGE 'pltcl';
This works fine. But when I want to call it from another tcl procedure I get errors:
This IS possible -- isn't it?bf2=# CREATE FUNCTION foo (varchar) RETURNS varchar AS ' return [meta_class $1] ' LANGUAGE 'pltcl'; bf2'# bf2'# CREATE bf2=# bf2=# select foo(class) from weapon_Types; ERROR: pltcl: invalid command name "meta_class"
Request notifications