How to disable foreign key constraints in Postgres dump file?
the command is:

alter table "tableName" drop constraint "tableName_fk1"


The foreign key must already exist in the database where you want to import, since the dump was made --data-only.