What's wrong and how can I improve the planning performance?
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных