pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Faulhaber <ecf@goldencode.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Batch INSERT failing with error 22P02
Date: Tue, 18 Sep 2007 12:38:52 -0400
Message-ID: <46EFFF1C.90000@goldencode.com> (raw)
In-Reply-To: <3FB6F105-AFD2-4BFC-8FF3-9CF24126C638@fastcrypt.com>
References: <46EEE4EF.80608@goldencode.com>
	<3FB6F105-AFD2-4BFC-8FF3-9CF24126C638@fastcrypt.com>

Dave Cramer wrote:
>>
>> So, my questions:
>>
>> A) Can anyone think what might have changed between the 8.1-408 and 
>> 8.2-506 versions of the JDBC driver which might result in an INVALID 
>> TEXT REPRESENTATION (22P02) error?
> I seem to recall the backend becoming more restrictive on valid UTF 
> sequences.

The particular parameter on which the error is being reported is an 
empty string, going into a column of type text.  BTW, the database is 
encoded as LATIN1.

> However that doesn't make sense if an 8.1 driver does work.

Agreed.

> Any chance we can get the server logs ?

I am sending a client log (debug=2) to Kris Jurka.  What level of 
debugging would you need to see in the server logs?

Thanks,
Eric Faulhaber



view thread (16+ messages)  latest in thread

Message-ID: <46EFFF1C.90000@goldencode.com>
Permalink:  ../46EFFF1C.90000@goldencode.com/
Also on:    postgresql.org/message-id/46EFFF1C.90000@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, pg@fastcrypt.com
  Subject: Re: Batch INSERT failing with error 22P02
  In-Reply-To: <46EFFF1C.90000@goldencode.com>
  References: <46EEE4EF.80608@goldencode.com> <3FB6F105-AFD2-4BFC-8FF3-9CF24126C638@fastcrypt.com> <46EFFF1C.90000@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