Re: Trouble with COPY IN

Matthew Wakeling <matthew@flymine.org>

From: Matthew Wakeling <matthew@flymine.org>
To: Kris Jurka <books@ejurka.com>
Cc: Maciek Sakrejda <msakrejda@truviso.com>, pgsql-jdbc@postgresql.org
Date: 2010-07-19T13:22:52Z
Lists: pgsql-hackers
On Fri, 16 Jul 2010, Kris Jurka wrote:
> 2) The protocol docs say that after an error, CopyData, CopyDone, and 
> CopyFail messages are ignored, so they wouldn't be causing this error.

The exception I receive isn't produced by the server. It is caused by the 
client losing its own lock on the database connection. Surely the place 
where the lock gets thrown away would be caused by a separate server 
error, and should have been reported?

Matthew

-- 
So, given 'D' is undeclared too, with a default of zero, C++ is equal to D.
  mnw21, commenting on the "Surely the value of C++ is zero, but C is now 1"
  response to "No, C++ isn't equal to D. 'C' is undeclared [...] C++ should
  really be called 1" response to "C++ -- shouldn't it be called D?"