Char(100) fields - Mailing list pgsql-jdbc

From Waldomiro
Subject Char(100) fields
Date
Msg-id 003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br
Whole thread Raw
Responses Re: Char(100) fields
List pgsql-jdbc
Hi,
 
I have some char(100) fields.
 
I was using postgre 7.2 and now I'm using 7.4.
 
before 7.2 I never had an error inserting some data in a char(100) field.
 
now I have an error "value too long for type character(100)"
 
this error ocurrs when I insert some string which has size 100, if I insert some string which has size 99, the error doesn't came.
 
Is it a bug?
 
there is a detail, when I do that insert inside a psql program, the error doesn't came, it came only when I do the insert inside a java program.
 
I think it is a driver problem.
 
There is someone who have already this kind of problem?
 
SHX INFORMÁTICA LTDA.
Waldomiro Caraiani
Desenvolvimento de Produto
+ 55 11 5581 1551
wmiro@shx.com.br
www.shx.com.br

pgsql-jdbc by date:

Previous
From: Yi LIN
Date:
Subject: Re: Problem linking Postgresql JDBC driverb and Matlab (Linux)
Next
From: "Jaroslaw J. Pyszny"
Date:
Subject: Re: Auto-increment serial (Postgresql JDBC driver w/