📜  检查表上的所有索引 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:08.187000             🧑  作者: Mango

代码示例2
SELECT
    tablename,
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    schemaname = 'yourschema' and tablename='yourtable'
ORDER BY
    tablename,
    indexname;
(POSTRGRESQL)