select proname, prolang from pg_proc where proowner != (select usesysid from pg_user where usename = 'postgres') ;