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.0407091853250.17806@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:

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

I've modified the cvs version of the driver to return a size for
times and timestamps with timezones.

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

I've modified the cvs version of the driver to return the number of
fractional seconds in time/timezone fields in the getScale() method.  I'm
not sure what you are implying about getPrecision here.

Kris Jurka


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Error in DatabaseMetaData TableColumn lenght.dec
Next
From: Kris Jurka
Date:
Subject: Re: patch: complain obviously about unknown transaction states