pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Waldomiro <wmiro@ig.com.br>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Integer fields
Date: Thu, 23 Sep 2004 13:50:58 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0409231349480.5455@leary.csoft.net> (raw)
In-Reply-To: <001501c4a172$c629fa40$1001a8c0@shx.com.br>
References: <001501c4a172$c629fa40$1001a8c0@shx.com.br>



On Thu, 23 Sep 2004, Waldomiro wrote:

> Hi,
> 
> In my java application when an user leave some integers field empty, it
> is saved without any digit like this --> ''
> 
> In postgres 7.2 it is working, but in 7.4 it doesn't 

In 7.2 '' was treated as 0, but starting with the 7.3 release this is 
recognized as an invalid integer value.  The bottom line is to fix your 
code.

Kris Jurka



view thread (3+ messages)

Message-ID: <Pine.BSO.4.56.0409231349480.5455@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0409231349480.5455@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0409231349480.5455@leary.csoft.net

 · 

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: books@ejurka.com, wmiro@ig.com.br
  Subject: Re: Integer fields
  In-Reply-To: <Pine.BSO.4.56.0409231349480.5455@leary.csoft.net>
  References: <001501c4a172$c629fa40$1001a8c0@shx.com.br> <Pine.BSO.4.56.0409231349480.5455@leary.csoft.net>

* 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