Re: [HACKERS] Trouble with COPY IN - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: [HACKERS] Trouble with COPY IN
Date
Msg-id 9143.1279892435@sss.pgh.pa.us
Whole thread Raw
In response to Re: Trouble with COPY IN  (Kris Jurka <books@ejurka.com>)
Responses Re: [HACKERS] Trouble with COPY IN
List pgsql-jdbc
Kris Jurka <books@ejurka.com> writes:
> Attached is a patch to make the server continue to consume protocol data
> until instructed to stop by the client in the same way as copying text
> data to the server currently works.

I believe this is a misunderstanding of the protocol spec.  The spec is
(intended to say that) we'll continue to accept data after reporting an
error, not that we will silently swallow an incorrect data stream and
not complain about it.  Which is what this patch will do.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Trouble with COPY IN
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Trouble with COPY IN