pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Waldomiro <wmiro@ig.com.br>
To: pgsql-jdbc@postgresql.org
Subject: Char(100) fields
Date: Wed, 22 Sep 2004 15:27:15 -0300
Message-ID: <003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br> (raw)

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 =

view thread (4+ messages)  latest in thread

Message-ID: <003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br>
Permalink:  ../003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br/
Also on:    postgresql.org/message-id/003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: wmiro@ig.com.br
  Subject: Re: Char(100) fields
  In-Reply-To: <003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br>
  References: <003401c4a0d1$c9ea48c0$1001a8c0@shx.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox