I’m fiddling around with PostgreSQL right now.
I can see the user indexes using SELECT * FROM pg_stat_user_indexes
However, it doesn’t seem like the result gives any information on the type of each index such as ‘B-tree’, ‘R-tree’, ‘Hash’, and ‘GiST’.
Anyone know how I can find out the type of each index?
pg_stat_user_indexesstores statistics, not the general index data.Use this: