Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id A09DA9FA097 for ; Tue, 18 Sep 2007 13:39:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 17244-01-5 for ; Tue, 18 Sep 2007 13:38:59 -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 628D89FA485 for ; Tue, 18 Sep 2007 13:39:00 -0300 (ADT) Received: from emlsrv01.internal.goldencode.com (unknown [192.168.1.51]) by www.goldencode.com (Postfix) with SMTP id D92D31C15F for ; Tue, 18 Sep 2007 11:40:24 -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 20070918122901-43126-7 ; Tue, 18 Sep 2007 12:29:01 -0500 Message-ID: <46EFFF1C.90000@goldencode.com> Date: Tue, 18 Sep 2007 12:38:52 -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: Dave Cramer CC: pgsql-jdbc@postgresql.org Subject: Re: Batch INSERT failing with error 22P02 References: <46EEE4EF.80608@goldencode.com> <3FB6F105-AFD2-4BFC-8FF3-9CF24126C638@fastcrypt.com> In-Reply-To: <3FB6F105-AFD2-4BFC-8FF3-9CF24126C638@fastcrypt.com> 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/92 X-Sequence-Number: 17514 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