Answers for "types of indexes in postgresql"

SQL
1

how to show index type in postgresql

SELECT tab.relname, cls.relname, am.amname
FROM pg_index idx 
JOIN pg_class cls ON cls.oid=idx.indexrelid
JOIN pg_class tab ON tab.oid=idx.indrelid
JOIN pg_am am ON am.oid=cls.relam;
Posted by: Guest on April-28-2021

Code answers related to "types of indexes in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language