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