Allan Kelly <allan(dot)kelly(at)buildstore(dot)co(dot)uk> writes:
> The intranet mirror for the client later grabs the file from the ISP
> and attempts the same 'psql -f' but appears to stop after a few
> inserts.
"Appears to stop" is hardly enough of a problem description to allow
useful advice to be given. Does the process quit, or just hang up
waiting for something? Is there anything reported in the postmaster
log? (You might try firing up the psql run with environment variable
PGOPTIONS = "-d2" to cause individual queries to be logged.)
regards, tom lane