X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BA56C329ED5 for ; Wed, 22 Sep 2004 19:59:52 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94014-02 for ; Wed, 22 Sep 2004 18:59:44 +0000 (GMT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by svr1.postgresql.org (Postfix) with ESMTP id 22D03329E8E for ; Wed, 22 Sep 2004 19:59:40 +0100 (BST) Received: from smtp-27.ig.com.br (smtp-27.ig.com.br [200.226.132.159]) by svr4.postgresql.org (Postfix) with SMTP id 704E05AF052 for ; Wed, 22 Sep 2004 18:22:33 +0000 (GMT) Received: (qmail 31407 invoked from network); 22 Sep 2004 18:22:26 -0000 Received: from unknown (HELO miro) (200.171.147.216) by smtp-27.ig.com.br with SMTP; 22 Sep 2004 18:22:26 -0000 Message-ID: <003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br> From: "Waldomiro" To: Subject: Char(100) fields Date: Wed, 22 Sep 2004 15:27:15 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0031_01C4A0B8.A3C2DD60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Antivirus: avast! (VPS 0439-1, 22/09/2004), Outbound message X-Antivirus-Status: Not-Tested X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=HTML_50_60, HTML_FONTCOLOR_BLUE, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200409/149 X-Sequence-Number: 11039 This is a multi-part message in MIME format. ------=_NextPart_000_0031_01C4A0B8.A3C2DD60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 d= oesn'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=C1TICA LTDA. Waldomiro Caraiani=20 Desenvolvimento de Produto + 55 11 5581 1551=20 wmiro@shx.com.br=20 www.shx.com.br=20= ------=_NextPart_000_0031_01C4A0B8.A3C2DD60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have some char(100) fields.
 
I was using postgre 7.2 and now I'm using=20 7.4.
 
before 7.2 I never had an error inserting some data= in a=20 char(100) field.
 
now I have an error "value too long for type=20 character(100)"
 
this error ocurrs when I insert some string which h= as size=20 100, if I insert some string which has size 99, the error doesn't=20 came.
 
Is it a bug?
 
there is a detail, when I do that insert inside a p= sql=20 program, the error doesn't came, it came only when I do the insert inside a= java=20 program.
 
I think it is a driver problem.
 
There is someone who have already this kind of=20 problem?
 
SHX INFORM=C1TICA= =20 LTDA.
Waldomiro Caraiani

Des= envolvimento=20 de Produto
+ 55 11 5581 1551
wmiro@shx.com.br
www.shx.com.br
------=_NextPart_000_0031_01C4A0B8.A3C2DD60--