Increasing of 'effective_cache_size' leads to similar thing with mergejoin, other options (work_mem, shared_buffers. etc) do not change anything.
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных