Given that the copy is causing the 'problem', the question to ask is; did you run ANALYZE on the table once the data was copied in?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных