select t.table_name, t.table_type, c.relname, c.relowner, u.usenamefrom information_schema.tables tjoin pg_catalog.pg_class c on (t.table_name = c.relname)join pg_catalog.pg_user u on (c.relowner = u.usesysid)where t.table_schema='public';
引用自 http://cully.biz/2013/12/11/postgresql-getting-the-owner-of-tables/
