How to list indexes created for table in postgres

后端 未结 3 972
日久生厌
日久生厌 2021-02-01 11:37

Could you tell me how to check what indexes are created for some table in postgresql ?

3条回答
  •  甜味超标
    2021-02-01 12:22

    if you're in psql, then:

    \d tablename
    

    show Indexes, Foreign Keys and references...

提交回复
热议问题