Re: Very strange Error in Updates

From: "Dario V(dot) Fassi" <software(at)sistemat(dot)com(dot)ar>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Very strange Error in Updates
Date: 2004-07-15 05:57:22
Message-ID: 40F61CC2.5030704@sistemat.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Jurka 2004-07-15 06:02:08 Re: Very strange Error in Updates
Previous Message Oliver Jowett 2004-07-15 05:44:00 Re: Very strange Error in Updates

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-07-15 06:02:08 Re: Very strange Error in Updates
Previous Message Oliver Jowett 2004-07-15 05:44:00 Re: Very strange Error in Updates