Re: Trouble with COPY IN

From: Matthew Wakeling <matthew(at)flymine(dot)org>
To: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Trouble with COPY IN
Date: 2010-07-19 14:11:06
Message-ID: alpine.DEB.2.00.1007191455550.8895@aragorn.flymine.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On Fri, 16 Jul 2010, Maciek Sakrejda wrote:
> Could it be that COPY is erroring out, and then the driver tries to
> end it anyway, causing the error? Anything interesting in the
> PostgreSQL logs? Is it consistently reproducible with a specific data
> set?

It seems that the COPY command only fails with larger data sets. If I
split a binary lump into several parts which are otherwise identical, then
it works perfectly, where the complete binary lump doesn't work.

I have isolated a reasonably small example that fails. The table
definition is table1 (int col1, int col2). The following is an exception
that is thrown, containing the full hex dump of the binary COPY, for 583
rows inserted into that table. As far as I can see, there is nothing wrong
with the binary format. If I reduce the size to make it send smaller
chunks, then the error does not occur.

java.sql.SQLException: Error writing to database, running statement COPY
table1 (col1, col2) FROM STDIN BINARY, size = 10515, data =
5047434F50590AFF 0D0A000000000000 0000000002000000 04000001A2000000
0400000247000200 000004000001A300 0000040000024600 0200000004000001
A400000004000002 4500020000000400 0001A50000000400 0002440002000000
04000001A6000000 0400000243000200 000004000001A700 0000040000024200
0200000004000001 A800000004000002 4100020000000400 0001A90000000400
0002400002000000 04000001AA000000 040000023F000200 000004000001AB00
0000040000023E00 0200000004000001 AC00000004000002 3D00020000000400
0001AD0000000400 00023C0002000000 04000001AE000000 040000023B000200
000004000001AF00 0000040000023A00 0200000004000001 B000000004000002
3900020000000400 0001B10000000400 0002380002000000 04000001B2000000
0400000237000200 000004000001B300 0000040000023600 0200000004000001
B400000004000002 3500020000000400 0001B50000000400 0002340002000000
04000001B6000000 0400000233000200 000004000001B700 0000040000023200
0200000004000001 B800000004000002 3100020000000400 0001B90000000400
0002300002000000 04000001BA000000 040000022F000200 000004000001BB00
0000040000022E00 0200000004000001 BC00000004000002 2D00020000000400
0001BD0000000400 00022C0002000000 04000001BE000000 040000022B000200
000004000001BF00 0000040000022A00 0200000004000001 C000000004000002
2900020000000400 0001C10000000400 0002280002000000 04000001C2000000
0400000227000200 000004000001C300 0000040000022600 0200000004000001
C400000004000002 2500020000000400 0001C50000000400 0002240002000000
04000001C6000000 0400000223000200 000004000001C700 0000040000022200
0200000004000001 C800000004000002 2100020000000400 0001C90000000400
0002200002000000 04000001CA000000 040000021F000200 000004000001CB00
0000040000021E00 0200000004000001 CC00000004000002 1D00020000000400
0001CD0000000400 00021C0002000000 04000001CE000000 040000021B000200
000004000001CF00 0000040000021A00 0200000004000001 D000000004000002
1900020000000400 0001D10000000400 0002180002000000 04000001D2000000
0400000217000200 000004000001D300 0000040000021600 0200000004000001
D400000004000002 1500020000000400 0001D50000000400 0002140002000000
04000001D6000000 0400000213000200 000004000001D700 0000040000021200
0200000004000001 D800000004000002 1100020000000400 0001D90000000400
0002100002000000 04000001DA000000 040000020F000200 000004000001DB00
0000040000020E00 0200000004000001 DC00000004000002 0D00020000000400
0001DD0000000400 00020C0002000000 04000001DE000000 040000020B000200
000004000001DF00 0000040000020A00 0200000004000001 E000000004000002
0900020000000400 0001E10000000400 0002080002000000 04000001E2000000
0400000207000200 000004000001E300 0000040000020600 0200000004000001
E400000004000002 0500020000000400 0001E50000000400 0002040002000000
04000001E6000000 0400000203000200 000004000001E700 0000040000020200
0200000004000001 E800000004000002 0100020000000400 0001E90000000400
0002000002000000 04000001EA000000 04000001FF000200 000004000001EB00
000004000001FE00 0200000004000001 EC00000004000001 FD00020000000400
0001ED0000000400 0001FC0002000000 04000001EE000000 04000001FB000200
000004000001EF00 000004000001FA00 0200000004000001 F000000004000001
F900020000000400 0001F10000000400 0001F80002000000 04000001F2000000
04000001F7000200 000004000001F300 000004000001F600 0200000004000001
F400000004000001 F500020000000400 0001F50000000400 0001F40002000000
04000001F6000000 04000001F3000200 000004000001F700 000004000001F200
0200000004000001 F800000004000001 F100020000000400 0001F90000000400
0001F00002000000 04000001FA000000 04000001EF000200 000004000001FB00
000004000001EE00 0200000004000001 FC00000004000001 ED00020000000400
0001FD0000000400 0001EC0002000000 04000001FE000000 04000001EB000200
000004000001FF00 000004000001EA00 0200000004000002 0000000004000001
E900020000000400 0002010000000400 0001E80002000000 0400000202000000
04000001E7000200 0000040000020300 000004000001E600 0200000004000002
0400000004000001 E500020000000400 0002050000000400 0001E40002000000
0400000206000000 04000001E3000200 0000040000020700 000004000001E200
0200000004000002 0800000004000001 E100020000000400 0002090000000400
0001E00002000000 040000020A000000 04000001DF000200 0000040000020B00
000004000001DE00 0200000004000002 0C00000004000001 DD00020000000400
00020D0000000400 0001DC0002000000 040000020E000000 04000001DB000200
0000040000020F00 000004000001DA00 0200000004000002 1000000004000001
D900020000000400 0002110000000400 0001D80002000000 0400000212000000
04000001D7000200 0000040000021300 000004000001D600 0200000004000002
1400000004000001 D500020000000400 0002150000000400 0001D40002000000
0400000216000000 04000001D3000200 0000040000021700 000004000001D200
0200000004000002 1800000004000001 D100020000000400 0002190000000400
0001D00002000000 040000021A000000 04000001CF000200 0000040000021B00
000004000001CE00 0200000004000002 1C00000004000001 CD00020000000400
00021D0000000400 0001CC0002000000 040000021E000000 04000001CB000200
0000040000021F00 000004000001CA00 0200000004000002 2000000004000001
C900020000000400 0002210000000400 0001C80002000000 0400000222000000
04000001C7000200 0000040000022300 000004000001C600 0200000004000002
2400000004000001 C500020000000400 0002250000000400 0001C40002000000
0400000226000000 04000001C3000200 0000040000022700 000004000001C200
0200000004000002 2800000004000001 C100020000000400 0002290000000400
0001C00002000000 040000022A000000 04000001BF000200 0000040000022B00
000004000001BE00 0200000004000002 2C00000004000001 BD00020000000400
00022D0000000400 0001BC0002000000 040000022E000000 04000001BB000200
0000040000022F00 000004000001BA00 0200000004000002 3000000004000001
B900020000000400 0002310000000400 0001B80002000000 0400000232000000
04000001B7000200 0000040000023300 000004000001B600 0200000004000002
3400000004000001 B500020000000400 0002350000000400 0001B40002000000
0400000236000000 04000001B3000200 0000040000023700 000004000001B200
0200000004000002 3800000004000001 B100020000000400 0002390000000400
0001B00002000000 040000023A000000 04000001AF000200 0000040000023B00
000004000001AE00 0200000004000002 3C00000004000001 AD00020000000400
00023D0000000400 0001AC0002000000 040000023E000000 04000001AB000200
0000040000023F00 000004000001AA00 0200000004000002 4000000004000001
A900020000000400 0002410000000400 0001A80002000000 0400000242000000
04000001A7000200 0000040000024300 000004000001A600 0200000004000002
4400000004000001 A500020000000400 0002450000000400 0001A40002000000
0400000246000000 04000001A3000200 0000040000024700 000004000001A200
0200000004000002 4800000004000001 A100020000000400 0002490000000400
0001A00002000000 040000024A000000 040000019F000200 0000040000024B00
0000040000019E00 0200000004000002 4C00000004000001 9D00020000000400
00024D0000000400 00019C0002000000 040000024E000000 040000019B000200
0000040000024F00 0000040000019A00 0200000004000002 5000000004000001
9900020000000400 0002510000000400 0001980002000000 0400000252000000
0400000197000200 0000040000025300 0000040000019600 0200000004000002
5400000004000001 9500020000000400 0002550000000400 0001940002000000
0400000256000000 0400000193000200 0000040000025700 0000040000019200
0200000004000002 5800000004000001 9100020000000400 0002590000000400
0001900002000000 040000025A000000 040000018F000200 0000040000025B00
0000040000018E00 0200000004000002 5C00000004000001 8D00020000000400
00025D0000000400 00018C0002000000 040000025E000000 040000018B000200
0000040000025F00 0000040000018A00 0200000004000002 6000000004000001
8900020000000400 0002610000000400 0001880002000000 0400000262000000
0400000187000200 0000040000026300 0000040000018600 0200000004000002
6400000004000001 8500020000000400 0002650000000400 0001840002000000
0400000266000000 0400000183000200 0000040000026700 0000040000018200
0200000004000002 6800000004000001 8100020000000400 0002690000000400
0001800002000000 040000026A000000 040000017F000200 0000040000026B00
0000040000017E00 0200000004000002 6C00000004000001 7D00020000000400
00026D0000000400 00017C0002000000 040000026E000000 040000017B000200
0000040000026F00 0000040000017A00 0200000004000002 7000000004000001
7900020000000400 0002710000000400 0001780002000000 0400000272000000
0400000177000200 0000040000027300 0000040000017600 0200000004000002
7400000004000001 7500020000000400 0002750000000400 0001740002000000
0400000276000000 0400000173000200 0000040000027700 0000040000017200
0200000004000002 7800000004000001 7100020000000400 0002790000000400
0001700002000000 040000027A000000 040000016F000200 0000040000027B00
0000040000016E00 0200000004000002 7C00000004000001 6D00020000000400
00027D0000000400 00016C0002000000 040000027E000000 040000016B000200
0000040000027F00 0000040000016A00 0200000004000002 8000000004000001
6900020000000400 0002810000000400 0001680002000000 0400000282000000
0400000167000200 0000040000028300 0000040000016600 0200000004000002
8400000004000001 6500020000000400 0002850000000400 0001640002000000
0400000286000000 0400000163000200 0000040000028700 0000040000016200
0200000004000002 8800000004000001 6100020000000400 0002890000000400
0001600002000000 040000028A000000 040000015F000200 0000040000028B00
0000040000015E00 0200000004000002 8C00000004000001 5D00020000000400
00028D0000000400 00015C0002000000 040000028E000000 040000015B000200
0000040000028F00 0000040000015A00 0200000004000002 9000000004000001
5900020000000400 0002910000000400 0001580002000000 0400000292000000
0400000157000200 0000040000029300 0000040000015600 0200000004000002
9400000004000001 5500020000000400 0002950000000400 0001540002000000
0400000296000000 0400000153000200 0000040000029700 0000040000015200
0200000004000002 9800000004000001 5100020000000400 0002990000000400
0001500002000000 040000029A000000 040000014F000200 0000040000029B00
0000040000014E00 0200000004000002 9C00000004000001 4D00020000000400
00029D0000000400 00014C0002000000 040000029E000000 040000014B000200
0000040000029F00 0000040000014A00 0200000004000002 A000000004000001
4900020000000400 0002A10000000400 0001480002000000 04000002A2000000
0400000147000200 000004000002A300 0000040000014600 0200000004000002
A400000004000001 4500020000000400 0002A50000000400 0001440002000000
04000002A6000000 0400000143000200 000004000002A700 0000040000014200
0200000004000002 A800000004000001 4100020000000400 0002A90000000400
0001400002000000 04000002AA000000 040000013F000200 000004000002AB00
0000040000013E00 0200000004000002 AC00000004000001 3D00020000000400
0002AD0000000400 00013C0002000000 04000002AE000000 040000013B000200
000004000002AF00 0000040000013A00 0200000004000002 B000000004000001
3900020000000400 0002B10000000400 0001380002000000 04000002B2000000
0400000137000200 000004000002B300 0000040000013600 0200000004000002
B400000004000001 3500020000000400 0002B50000000400 0001340002000000
04000002B6000000 0400000133000200 000004000002B700 0000040000013200
0200000004000002 B800000004000001 3100020000000400 0002B90000000400
0001300002000000 04000002BA000000 040000012F000200 000004000002BB00
0000040000012E00 0200000004000002 BC00000004000001 2D00020000000400
0002BD0000000400 00012C0002000000 04000002BE000000 040000012B000200
000004000002BF00 0000040000012A00 0200000004000002 C000000004000001
2900020000000400 0002C10000000400 0001280002000000 04000002C2000000
0400000127000200 000004000002C300 0000040000012600 0200000004000002
C400000004000001 2500020000000400 0002C50000000400 0001240002000000
04000002C6000000 0400000123000200 000004000002C700 0000040000012200
0200000004000002 C800000004000001 2100020000000400 0002C90000000400
0001200002000000 04000002CA000000 040000011F000200 000004000002CB00
0000040000011E00 0200000004000002 CC00000004000001 1D00020000000400
0002CD0000000400 00011C0002000000 04000002CE000000 040000011B000200
000004000002CF00 0000040000011A00 0200000004000002 D000000004000001
1900020000000400 0002D10000000400 0001180002000000 04000002D2000000
0400000117000200 000004000002D300 0000040000011600 0200000004000002
D400000004000001 1500020000000400 0002D50000000400 0001140002000000
04000002D6000000 0400000113000200 000004000002D700 0000040000011200
0200000004000002 D800000004000001 1100020000000400 0002D90000000400
0001100002000000 04000002DA000000 040000010F000200 000004000002DB00
0000040000010E00 0200000004000002 DC00000004000001 0D00020000000400
0002DD0000000400 00010C0002000000 04000002DE000000 040000010B000200
000004000002DF00 0000040000010A00 0200000004000002 E000000004000001
0900020000000400 0002E10000000400 0001080002000000 04000002E2000000
0400000107000200 000004000002E300 0000040000010600 0200000004000002
E400000004000001 0500020000000400 0002E50000000400 0001040002000000
04000002E6000000 0400000103000200 000004000002E700 0000040000010200
0200000004000002 E800000004000001 0100020000000400 0002E90000000400
0001000002000000 04000002EA000000 04000000FF000200 000004000002EB00
000004000000FE00 0200000004000002 EC00000004000000 FD00020000000400
0002ED0000000400 0000FC0002000000 04000002EE000000 04000000FB000200
000004000002EF00 000004000000FA00 0200000004000002 F000000004000000
F900020000000400 0002F10000000400 0000F80002000000 04000002F2000000
04000000F7000200 000004000002F300 000004000000F600 0200000004000002
F400000004000000 F500020000000400 0002F50000000400 0000F40002000000
04000002F6000000 04000000F3000200 000004000002F700 000004000000F200
0200000004000002 F800000004000000 F100020000000400 0002F90000000400
0000F00002000000 04000002FA000000 04000000EF000200 000004000002FB00
000004000000EE00 0200000004000002 FC00000004000000 ED00020000000400
0002FD0000000400 0000EC0002000000 04000002FE000000 04000000EB000200
000004000002FF00 000004000000EA00 0200000004000003 0000000004000000
E900020000000400 0003010000000400 0000E80002000000 0400000302000000
04000000E7000200 0000040000030300 000004000000E600 0200000004000003
0400000004000000 E500020000000400 0003050000000400 0000E40002000000
0400000306000000 04000000E3000200 0000040000030700 000004000000E200
0200000004000003 0800000004000000 E100020000000400 0003090000000400
0000E00002000000 040000030A000000 04000000DF000200 0000040000030B00
000004000000DE00 0200000004000003 0C00000004000000 DD00020000000400
00030D0000000400 0000DC0002000000 040000030E000000 04000000DB000200
0000040000030F00 000004000000DA00 0200000004000003 1000000004000000
D900020000000400 0003110000000400 0000D80002000000 0400000312000000
04000000D7000200 0000040000031300 000004000000D600 0200000004000003
1400000004000000 D500020000000400 0003150000000400 0000D40002000000
0400000316000000 04000000D3000200 0000040000031700 000004000000D200
0200000004000003 1800000004000000 D100020000000400 0003190000000400
0000D00002000000 040000031A000000 04000000CF000200 0000040000031B00
000004000000CE00 0200000004000003 1C00000004000000 CD00020000000400
00031D0000000400 0000CC0002000000 040000031E000000 04000000CB000200
0000040000031F00 000004000000CA00 0200000004000003 2000000004000000
C900020000000400 0003210000000400 0000C80002000000 0400000322000000
04000000C7000200 0000040000032300 000004000000C600 0200000004000003
2400000004000000 C500020000000400 0003250000000400 0000C40002000000
0400000326000000 04000000C3000200 0000040000032700 000004000000C200
0200000004000003 2800000004000000 C100020000000400 0003290000000400
0000C00002000000 040000032A000000 04000000BF000200 0000040000032B00
000004000000BE00 0200000004000003 2C00000004000000 BD00020000000400
00032D0000000400 0000BC0002000000 040000032E000000 04000000BB000200
0000040000032F00 000004000000BA00 0200000004000003 3000000004000000
B900020000000400 0003310000000400 0000B80002000000 0400000332000000
04000000B7000200 0000040000033300 000004000000B600 0200000004000003
3400000004000000 B500020000000400 0003350000000400 0000B40002000000
0400000336000000 04000000B3000200 0000040000033700 000004000000B200
0200000004000003 3800000004000000 B100020000000400 0003390000000400
0000B00002000000 040000033A000000 04000000AF000200 0000040000033B00
000004000000AE00 0200000004000003 3C00000004000000 AD00020000000400
00033D0000000400 0000AC0002000000 040000033E000000 04000000AB000200
0000040000033F00 000004000000AA00 0200000004000003 4000000004000000
A900020000000400 0003410000000400 0000A80002000000 0400000342000000
04000000A7000200 0000040000034300 000004000000A600 0200000004000003
4400000004000000 A500020000000400 0003450000000400 0000A40002000000
0400000346000000 04000000A3000200 0000040000034700 000004000000A200
0200000004000003 4800000004000000 A100020000000400 0003490000000400
0000A00002000000 040000034A000000 040000009F000200 0000040000034B00
0000040000009E00 0200000004000003 4C00000004000000 9D00020000000400
00034D0000000400 00009C0002000000 040000034E000000 040000009B000200
0000040000034F00 0000040000009A00 0200000004000003 5000000004000000
9900020000000400 0003510000000400 0000980002000000 0400000352000000
0400000097000200 0000040000035300 0000040000009600 0200000004000003
5400000004000000 9500020000000400 0003550000000400 0000940002000000
0400000356000000 0400000093000200 0000040000035700 0000040000009200
0200000004000003 5800000004000000 9100020000000400 0003590000000400
0000900002000000 040000035A000000 040000008F000200 0000040000035B00
0000040000008E00 0200000004000003 5C00000004000000 8D00020000000400
00035D0000000400 00008C0002000000 040000035E000000 040000008B000200
0000040000035F00 0000040000008A00 0200000004000003 6000000004000000
8900020000000400 0003610000000400 0000880002000000 0400000362000000
0400000087000200 0000040000036300 0000040000008600 0200000004000003
6400000004000000 8500020000000400 0003650000000400 0000840002000000
0400000366000000 0400000083000200 0000040000036700 0000040000008200
0200000004000003 6800000004000000 8100020000000400 0003690000000400
0000800002000000 040000036A000000 040000007F000200 0000040000036B00
0000040000007E00 0200000004000003 6C00000004000000 7D00020000000400
00036D0000000400 00007C0002000000 040000036E000000 040000007B000200
0000040000036F00 0000040000007A00 0200000004000003 7000000004000000
7900020000000400 0003710000000400 0000780002000000 0400000372000000
0400000077000200 0000040000037300 0000040000007600 0200000004000003
7400000004000000 7500020000000400 0003750000000400 0000740002000000
0400000376000000 0400000073000200 0000040000037700 0000040000007200
0200000004000003 7800000004000000 7100020000000400 0003790000000400
0000700002000000 040000037A000000 040000006F000200 0000040000037B00
0000040000006E00 0200000004000003 7C00000004000000 6D00020000000400
00037D0000000400 00006C0002000000 040000037E000000 040000006B000200
0000040000037F00 0000040000006A00 0200000004000003 8000000004000000
6900020000000400 0003810000000400 0000680002000000 0400000382000000
0400000067000200 0000040000038300 0000040000006600 0200000004000003
8400000004000000 6500020000000400 0003850000000400 0000640002000000
0400000386000000 0400000063000200 0000040000038700 0000040000006200
0200000004000003 8800000004000000 6100020000000400 0003890000000400
0000600002000000 040000038A000000 040000005F000200 0000040000038B00
0000040000005E00 0200000004000003 8C00000004000000 5D00020000000400
00038D0000000400 00005C0002000000 040000038E000000 040000005B000200
0000040000038F00 0000040000005A00 0200000004000003 9000000004000000
5900020000000400 0003910000000400 0000580002000000 0400000392000000
0400000057000200 0000040000039300 0000040000005600 0200000004000003
9400000004000000 5500020000000400 0003950000000400 0000540002000000
0400000396000000 0400000053000200 0000040000039700 0000040000005200
0200000004000003 9800000004000000 5100020000000400 0003990000000400
0000500002000000 040000039A000000 040000004F000200 0000040000039B00
0000040000004E00 0200000004000003 9C00000004000000 4D00020000000400
00039D0000000400 00004C0002000000 040000039E000000 040000004B000200
0000040000039F00 0000040000004A00 0200000004000003 A000000004000000
4900020000000400 0003A10000000400 0000480002000000 04000003A2000000
0400000047000200 000004000003A300 0000040000004600 0200000004000003
A400000004000000 4500020000000400 0003A50000000400 0000440002000000
04000003A6000000 0400000043000200 000004000003A700 0000040000004200
0200000004000003 A800000004000000 4100020000000400 0003A90000000400
0000400002000000 04000003AA000000 040000003F000200 000004000003AB00
0000040000003E00 0200000004000003 AC00000004000000 3D00020000000400
0003AD0000000400 00003C0002000000 04000003AE000000 040000003B000200
000004000003AF00 0000040000003A00 0200000004000003 B000000004000000
3900020000000400 0003B10000000400 0000380002000000 04000003B2000000
0400000037000200 000004000003B300 0000040000003600 0200000004000003
B400000004000000 3500020000000400 0003B50000000400 0000340002000000
04000003B6000000 0400000033000200 000004000003B700 0000040000003200
0200000004000003 B800000004000000 3100020000000400 0003B90000000400
0000300002000000 04000003BA000000 040000002F000200 000004000003BB00
0000040000002E00 0200000004000003 BC00000004000000 2D00020000000400
0003BD0000000400 00002C0002000000 04000003BE000000 040000002B000200
000004000003BF00 0000040000002A00 0200000004000003 C000000004000000
2900020000000400 0003C10000000400 0000280002000000 04000003C2000000
0400000027000200 000004000003C300 0000040000002600 0200000004000003
C400000004000000 2500020000000400 0003C50000000400 0000240002000000
04000003C6000000 0400000023000200 000004000003C700 0000040000002200
0200000004000003 C800000004000000 2100020000000400 0003C90000000400
0000200002000000 04000003CA000000 040000001F000200 000004000003CB00
0000040000001E00 0200000004000003 CC00000004000000 1D00020000000400
0003CD0000000400 00001C0002000000 04000003CE000000 040000001B000200
000004000003CF00 0000040000001A00 0200000004000003 D000000004000000
1900020000000400 0003D10000000400 0000180002000000 04000003D2000000
0400000017000200 000004000003D300 0000040000001600 0200000004000003
D400000004000000 1500020000000400 0003D50000000400 0000140002000000
04000003D6000000 0400000013000200 000004000003D700 0000040000001200
0200000004000003 D800000004000000 1100020000000400 0003D90000000400
0000100002000000 04000003DA000000 040000000F000200 000004000003DB00
0000040000000E00 0200000004000003 DC00000004000000 0D00020000000400
0003DD0000000400 00000C0002000000 04000003DE000000 040000000B000200
000004000003DF00 0000040000000A00 0200000004000003 E000000004000000
0900020000000400 0003E10000000400 0000080002000000 04000003E2000000
0400000007000200 000004000003E300 0000040000000600 0200000004000003
E400000004000000 0500020000000400 0003E50000000400 0000040002000000
04000003E6000000 0400000003000200 000004000003E700 0000040000000200
0200000004000003 E800000004000000 01FFFF
at org.intermine.sql.writebatch.FlushJobPostgresCopyImpl.flush(FlushJobPostgresCopyImpl.java:66)
at org.intermine.sql.writebatch.Batch$BatchFlusher.run(Batch.java:458)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.postgresql.util.PSQLException: Tried to end inactive copy
at org.postgresql.core.v3.QueryExecutorImpl.endCopy(QueryExecutorImpl.java:803)
at org.postgresql.core.v3.CopyInImpl.endCopy(CopyInImpl.java:61)
at org.postgresql.copy.CopyManager.copyIn(CopyManager.java:181)
at org.postgresql.copy.CopyManager.copyIn(CopyManager.java:161)
at org.intermine.sql.writebatch.FlushJobPostgresCopyImpl.flush(FlushJobPostgresCopyImpl.java:51)

--
"We did a risk management review. We concluded that there was no risk
of any management." -- Hugo Mills <hugo(at)carfax(dot)nildram(dot)co(dot)uk>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2010-07-19 14:12:19 Re: SHOW TABLES
Previous Message Peter Eisentraut 2010-07-19 13:28:18 Re: Hostnames in pg_hba.conf

Browse pgsql-jdbc by date

  From Date Subject
Next Message Matthew Wakeling 2010-07-19 14:16:12 Re: Trouble with COPY IN
Previous Message Matthew Wakeling 2010-07-19 13:22:52 Re: Trouble with COPY IN