]> granicus.if.org Git - postgresql/commit
From: Peter T Mount <patches@maidast.demon.co.uk>
authorMarc G. Fournier <scrappy@hub.org>
Sun, 15 Mar 1998 07:12:07 +0000 (07:12 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 15 Mar 1998 07:12:07 +0000 (07:12 +0000)
commit31a925c4d07675bc098a742ee9ca642ec79a40ee
tree56f9d42edf130331e135b3b5599c11ee4fe592a3
parent7eddadee8726fbeba5c8d69dda480a3bbbc5d91a
From: Peter T Mount <patches@maidast.demon.co.uk>

Ok, this fixes three things:

1. It seems (from tests submitted by two people with JBuilder) that
   JBuilder expects a responce from ResultSetMetaData.getPrecision() &
   getScale() when used on non numeric types. This patch makes these
   methods return 0, instead of throwing an exception.

2. Fixes a small bug where getting the postgresql type name returns null.

3. Fixes a problem with ResultSet.getObject() where getting it's string
   value returns null if you case the object as (PGobject), but returns
   the value if you case it as it's self.
src/interfaces/jdbc/postgresql/Field.java
src/interfaces/jdbc/postgresql/ResultSetMetaData.java
src/interfaces/jdbc/postgresql/util/PGobject.java