pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Sergio Lob <sergio_lob@iwaysoftware.com>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: BUG #1523: precision column value returned from getTypeInfo()
Date: Thu, 3 Mar 2005 22:06:54 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0503032205140.25906@leary.csoft.net> (raw)
In-Reply-To: <4227C2E7.7030308@opencloud.com>
References: <20050303212419.7046AF0D94@svr2.postgresql.org>
	<4227C2E7.7030308@opencloud.com>



On Fri, 4 Mar 2005, Oliver Jowett wrote:

> > After calling Connection.DatabaseMetaData.getTypeInfo() method, the
> > PRECISION column of the ResultSet seems hardcoded to value 9, which of
> > course in incorrect
> 
> Well, it's working as intended in the sense that there is no code to 
> support retrieving a real precision value -- it is indeed a hardcoded 
> placeholder value. I'm not sure why '9' off the top of my head, perhaps 
> making that column NULL would be better? What are the units of this 
> value anyway?

Compare the existing implementation of ResultSetMetaData.getPrecision.

Kris Jurka



view thread (12+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0503032205140.25906@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0503032205140.25906@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0503032205140.25906@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, oliver@opencloud.com, sergio_lob@iwaysoftware.com, pgsql-bugs@postgresql.org
  Subject: Re: BUG #1523: precision column value returned from getTypeInfo()
  In-Reply-To: <Pine.BSO.4.56.0503032205140.25906@leary.csoft.net>
  References: <20050303212419.7046AF0D94@svr2.postgresql.org> <4227C2E7.7030308@opencloud.com> <Pine.BSO.4.56.0503032205140.25906@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