Sorry, I was too busy looking at the content.Has the size / # rows changed recently? If the planner thinks it can load all the rows faster, it will use a seqscan regardless if you have an index.If that is the case, you can force index use by doing a SET enable_seqscan = off before executing the query.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных