--查询索引
select * from pg_indexes
where tablename
='tab1';
--创建索引 tab1_bill_code_index 为索引名,
create index tab1_bill_code_index
on "db1".tab1(bill_code);
--删除索引
drop index tab1_bill_code_index ;
转载于:https://www.cnblogs.com/personblog/p/11368104.html
转载请注明原文地址: https://mac.8miu.com/read-24167.html