Re: Trouble with COPY IN - Mailing list pgsql-jdbc

From Matthew Wakeling
Subject Re: Trouble with COPY IN
Date
Msg-id alpine.DEB.2.00.1007201452360.8895@aragorn.flymine.org
Whole thread Raw
In response to Re: Trouble with COPY IN  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Trouble with COPY IN  (Matthew Wakeling <matthew@flymine.org>)
List pgsql-jdbc
On Tue, 20 Jul 2010, Kevin Grittner wrote:
> Matthew Wakeling <matthew@flymine.org> wrote:
>
>> Just written a test that writes 100000 rows into the test table
>> using  binary copy, and it works perfectly. Not sure what's going
>> on here, as it still fails in my application.
>
> Random thought: is SSL involved in one and not the other?

No.

After a little more investigation, it appears that
core.v3.QueryExecutorImpl.unlock() is being called before
core.v3.QueryExecutorImpl.endCopy(), in
core.v3.QueryExecutorImpl.processCopyResults() apparently because it
receives a "Z", called by core.v3.QueryExecutorImpl.writeToCopy().
Investigating further.

Matthew

--
 I quite understand I'm doing algebra on the blackboard and the usual response
 is to throw objects...  If you're going to freak out... wait until party time
 and invite me along                     -- Computer Science Lecturer

pgsql-jdbc by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Trouble with COPY IN
Next
From: Matthew Wakeling
Date:
Subject: Re: Trouble with COPY IN