X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7F4A8D1B19C for ; Thu, 15 Jul 2004 02:48:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00762-06 for ; Thu, 15 Jul 2004 05:48:12 +0000 (GMT) Received: from mail.svhost.com.ar (mail.svhost.com.ar [200.80.239.22]) by svr1.postgresql.org (Postfix) with ESMTP id 6A07BD1B1AA for ; Thu, 15 Jul 2004 02:48:05 -0300 (ADT) Received: from sistemat.com.ar (devel.sistemat.com.ar [192.168.1.40]) by mail.svhost.com.ar (Postfix) with ESMTP id AC1EB2341F; Thu, 15 Jul 2004 02:46:36 -0300 (ART) Message-ID: <40F61CC2.5030704@sistemat.com.ar> Date: Thu, 15 Jul 2004 02:57:22 -0300 From: "Dario V. Fassi" Organization: SISTEMATICA ingenieria de software srl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: es, es-ar, en-us, en MIME-Version: 1.0 To: Oliver Jowett Cc: "pgsql-jdbc@postgresql.org" Subject: Re: Very strange Error in Updates References: <40F6172D.10301@sistemat.com.ar> <40F619A0.8030506@opencloud.com> In-Reply-To: <40F619A0.8030506@opencloud.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/170 X-Sequence-Number: 10554 Oliver Jowett wrote: > Dario V. Fassi wrote: > >> When the parameter fill the full-length of receiving field and has >> any non common character, the update throw a exception like: >> >> java.sql.SQLException: ERROR: value too long for type character >> varying(30) >> at >> org.postgresql.core.v2.QueryExecutorImpl.receiveErrorMessage(QueryExecutorImpl.java:420) > > > > What server version (I'm guessing <= 7.3 since the driver is using the > V2 protocol) and database encoding are you using? > > -O Server 7.3.4 for W2K and Linux too. Encoding SQL_ASCII in both cases. Dario