Re: \copy: unexpected response (4) - Mailing list pgsql-general

From Tom Lane
Subject Re: \copy: unexpected response (4)
Date
Msg-id 22987.1249660193@sss.pgh.pa.us
Whole thread Raw
In response to \copy: unexpected response (4)  (Neil Best <nbest@ci.uchicago.edu>)
Responses Re: \copy: unexpected response (4)
List pgsql-general
Neil Best <nbest@ci.uchicago.edu> 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

pgsql-general by date:

Previous
From: John
Date:
Subject: Re: using the schema in postbooks
Next
From: Neil Best
Date:
Subject: Re: \copy: unexpected response (4)