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