PostgreSQL Output which types/key an index has
I built this SQL: SELECT indexname FROM pg_indexes WHERE schemaname = 'foo' AND tablename = 'foo' It returns me all indexes of a table. However, I would like the index names and the type of the indexes to be displayed,…