Re: ResultSerMetaData.getColumnDisplaySize() with timestamp - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: ResultSerMetaData.getColumnDisplaySize() with timestamp
Date
Msg-id Pine.BSO.4.56.0407080142490.23659@leary.csoft.net
Whole thread Raw
In response to ResultSerMetaData.getColumnDisplaySize() with timestamp error  ("Dario V. Fassi" <software@sistemat.com.ar>)
List pgsql-jdbc

On Wed, 7 Jul 2004, Dario V. Fassi wrote:

> I believe that the method   ResultSerMetaData.getColumnDisplaySize()
> with timestamp columns return 0 length
> when they would return 19 or 26.

Yes it appears to only handle timestamp and not timestamp with time zone.
Will fix.

> The same way , methods getColumnPresicion()  and getColumnScale() .

I'm not sure what this comment means.  I'm guessing you'd like to be able
to tell the difference between timestamp(0) and timestamp(6), but that is
not clear.  As I understood it these numbers were really only for numeric
types, but extending that to timestamps does seem useful.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: no link in GBorg
Next
From: "Amish Munshi"
Date:
Subject: bpchat cannot exceed 10485760