postgresql7.1 select proname as name, 'FUNCTION' as type, pronargs as nargs from pg_proc where proowner=(select usesysid from pg_user where usename = current_user) order by proname, pronargs