Char(100) fields

Поиск
Список
Период
Сортировка
От Waldomiro
Тема Char(100) fields
Дата
Msg-id 003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br
обсуждение исходный текст
Ответы Re: Char(100) fields
Список 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 по дате отправления:

Предыдущее
От: Yi LIN
Дата:
Сообщение: Re: Problem linking Postgresql JDBC driverb and Matlab (Linux)
Следующее
От: "Jaroslaw J. Pyszny"
Дата:
Сообщение: Re: Auto-increment serial (Postgresql JDBC driver w/