Answer the question
In order to leave comments, you need to log in
How to name indexes in PostgreSQL?
What are the rules for indexes? I create, for example, uniqName for the Users table. Then I try to create a uniqName for Themes (let's say blog topics). I get an error saying the index already exists. So what is the best way to name indexes? And wouldn't a big name like themes_uniq_name, users_uniq_name or compound users_uniq_name_user_id (something like that) be a brake?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question