Re: [HACKERS] Trouble with COPY IN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Matthew Wakeling <matthew(at)flymine(dot)org>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Maciek Sakrejda <msakrejda(at)truviso(dot)com>, Samuel Gendler <sgendler(at)ideasculptor(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [HACKERS] Trouble with COPY IN
Date: 2010-07-23 13:40:35
Message-ID: 9143.1279892435@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

Kris Jurka <books(at)ejurka(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-07-23 13:40:37 Re: [HACKERS] Trouble with COPY IN
Previous Message Euler Taveira de Oliveira 2010-07-23 13:38:09 Re: Patch for 9.1: initdb -C option

Browse pgsql-jdbc by date

  From Date Subject
Next Message Robert Haas 2010-07-23 13:40:37 Re: [HACKERS] Trouble with COPY IN
Previous Message Andrew Dunstan 2010-07-23 13:32:08 Re: [HACKERS] Trouble with COPY IN