oops, should have thought about setting the foreign key constraint deferrable, maybe showing this in table definition (\d) would be a good idea. will recreate my foreign key deferrable and do some timings ...
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных