Could you tell me how to check what indexes are created for some table in postgresql ?
if you're in psql, then:
\d tablename
show Indexes, Foreign Keys and references...