disable constraints before using pg_restore.exe
Have you tried the --disable-triggers option to pg_restore?  

Per the documentation: Use this if you have referential integrity checks or other triggers on the tables that you do not want to invoke during data reload.  

Please note that this only is valid for a --data-only restore and requires the --superuser=username option to be passed, as well.