Postgre SQL操作数据库脚本

基础操作

-- 切换schema,xxxx为目标schema名称
set search_path to xxxx;

-- 查看索引内容
select * from pg_catalog.pg_indexes;

-- 查看索引名
select * from pg_catalog.pg_statio_all_indexes;

你可能感兴趣的:(数据库,数据库,sql,postgresql)