select * from pg_indexes where tablename='log'; 或 select * from pg_statio_all_indexes where relname='log';