I'm going slightly crazy trying to work out how this works. The acs_subsite package has a proc called package_plsql_args in package-procs.tcl which very conveniently returns the arguments of a plsql/plpgsql function.
The proc has the following sql select:
return [db_list select_object_type_param_list {
select args.argument_name
from user_arguments args
where args.position > 0
and args.object_name = upper(:function_name)
and args.package_name = upper(:package_name)
}]
I can't find the table 'user_arguments' to which this refers yet it works! Its used by e.g bt_bug in the bug tracker and that is working - I know cos I broke it and thats what lead me here.
Could someone please put me out of my misery and point out my stupid mistake :)
Ta
Steve
Request notifications