Re: Very strange Error in Updates - Mailing list pgsql-jdbc

From Dario V. Fassi
Subject Re: Very strange Error in Updates
Date
Msg-id 40F61CC2.5030704@sistemat.com.ar
Whole thread Raw
In response to Re: Very strange Error in Updates  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Very strange Error in Updates
List pgsql-jdbc

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


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Very strange Error in Updates
Next
From: "Dario V. Fassi"
Date:
Subject: Re: Very strange Error in Updates