Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6E92A9F9A0F for ; Mon, 24 Sep 2007 14:25:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 77376-01 for ; Mon, 24 Sep 2007 14:25:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from www.goldencode.com (www.goldencode.com [72.17.138.114]) by postgresql.org (Postfix) with ESMTP id 111169F99D1 for ; Mon, 24 Sep 2007 14:25:38 -0300 (ADT) Received: from emlsrv01.internal.goldencode.com (unknown [192.168.1.51]) by www.goldencode.com (Postfix) with SMTP id EB1311C169 for ; Mon, 24 Sep 2007 12:26:57 -0400 (EDT) Received: from [192.168.1.103] (ecf.internal.goldencode.com [192.168.1.103]) by emlsrv01.internal.goldencode.com (Hethmon Brothers Smtpd) id 20070924132417-23120-7 ; Mon, 24 Sep 2007 13:24:17 -0500 Message-ID: <46F7F2D2.2050508@goldencode.com> Date: Mon, 24 Sep 2007 13:24:34 -0400 From: Eric Faulhaber Reply-To: ecf@goldencode.com Organization: Golden Code Development User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Kris Jurka CC: pgsql-jdbc@postgresql.org Subject: Re: Batch INSERT failing with error 22P02 References: <46EEE4EF.80608@goldencode.com> <46EFF277.1090309@goldencode.com> <46F29BBC.20400@goldencode.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/111 X-Sequence-Number: 17533 Kris Jurka wrote: > OK, I've committed a fix for 8.1, 8.2, and 8.3-dev to the CVS > repository. It simply checks that the describe results match the > currently parsed query before applying them. There is still an > optimization to be made here, in that we don't need to describe at all > if the Query has all the needed type informtion already, but I'll > leave that for later. I checked out the code from CVS and rebuilt with the following build.local.properties: major=8 minor=2 fullversion=8.2 def_pgport=5432 enable_debug=yes Assuming the above is OK, this fix resolves the issue in my use case. Thanks, Kris! Any idea when this might make it into an official build? Regards, Eric Faulhaber