Neil Best <nbest@xxxxxxxxxxxxxxx> writes: > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) > psql:copy.sql:8059525: \copy: unexpected response (4) Hmm. It looks like psql could get into an infinite loop if the server failed to exit COPY IN mode for some reason, but it's not at all clear how that could happen (or what to do about it). What server version and what psql version is this? What does the server's log show? Can you provide a reproducible test case? regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general