Pavel Stehule writes: > increase statistics on columns. The estimation is totally out. Stats when I ran the above was at 250. Will try 500.
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных