pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Faulhaber <ecf@goldencode.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Batch INSERT failing with error 22P02
Date: Mon, 24 Sep 2007 13:24:34 -0400
Message-ID: <46F7F2D2.2050508@goldencode.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0709240835350.10797@leary.csoft.net>
References: <46EEE4EF.80608@goldencode.com>
	<Pine.BSO.4.64.0709171802240.11213@leary.csoft.net>
	<46EFF277.1090309@goldencode.com>
	<Pine.BSO.4.64.0709181916350.449@leary.csoft.net>
	<46F29BBC.20400@goldencode.com>
	<Pine.BSO.4.64.0709201251280.22675@leary.csoft.net>
	<Pine.BSO.4.64.0709210227150.1423@leary.csoft.net>
	<Pine.BSO.4.64.0709240835350.10797@leary.csoft.net>

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




view thread (16+ messages)  latest in thread

Message-ID: <46F7F2D2.2050508@goldencode.com>
Permalink:  ../46F7F2D2.2050508@goldencode.com/
Also on:    postgresql.org/message-id/46F7F2D2.2050508@goldencode.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ecf@goldencode.com, books@ejurka.com
  Subject: Re: Batch INSERT failing with error 22P02
  In-Reply-To: <46F7F2D2.2050508@goldencode.com>
  References: <46EEE4EF.80608@goldencode.com> <Pine.BSO.4.64.0709171802240.11213@leary.csoft.net> <46EFF277.1090309@goldencode.com> <Pine.BSO.4.64.0709181916350.449@leary.csoft.net> <46F29BBC.20400@goldencode.com> <Pine.BSO.4.64.0709201251280.22675@leary.csoft.net> <Pine.BSO.4.64.0709210227150.1423@leary.csoft.net> <Pine.BSO.4.64.0709240835350.10797@leary.csoft.net> <46F7F2D2.2050508@goldencode.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox