Skip site navigation (1) Skip section navigation (2)

Re: Integer fields

From: Kris Jurka <books(at)ejurka(dot)com>
To: Waldomiro <wmiro(at)ig(dot)com(dot)br>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Integer fields
Date: 2004-09-23 18:50:58
Message-ID: Pine.BSO.4.56.0409231349480.5455@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

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

In response to

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2004-09-23 18:55:00
Subject: Re: JDBC DRIVER FOR HANDHELDS
Previous:From: David ParkerDate: 2004-09-23 16:32:16
Subject: "out" parameters in CallableStatements

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group