Re: Trouble with COPY IN

From: Matthew Wakeling <matthew(at)flymine(dot)org>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Maciek Sakrejda <msakrejda(at)truviso(dot)com>, Samuel Gendler <sgendler(at)ideasculptor(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Trouble with COPY IN
Date: 2010-07-20 13:56:49
Message-ID: alpine.DEB.2.00.1007201452360.8895@aragorn.flymine.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On Tue, 20 Jul 2010, Kevin Grittner wrote:
> Matthew Wakeling <matthew(at)flymine(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-07-20 13:59:51 Re: Explicit psqlrc
Previous Message Magnus Hagander 2010-07-20 13:51:40 Re: Some git conversion issues

Browse pgsql-jdbc by date

  From Date Subject
Next Message Matthew Wakeling 2010-07-20 14:12:25 Re: Trouble with COPY IN
Previous Message Kevin Grittner 2010-07-20 13:48:05 Re: Trouble with COPY IN