Re: Timestamp precision - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: Timestamp precision
Date
Msg-id 3E67840C.7080404@xythos.com
Whole thread Raw
In response to Timestamp precision  (Daniel Bruce Lynes <dlynes@shaw.ca>)
Responses Re: Timestamp precision
List pgsql-jdbc
Daniel,

What code are you refering to exactly?  I don't see this, and there is a
test in the jdbc test suite that tests time out to 6 decimal places.

thanks,
--Barry


Daniel Bruce Lynes wrote:
> We were having difficulty comparing timestamps in postgreSQL, using the jdbc3
> driver.  However, after reviewing the jdbc driver code, I found that the
> precision problem I encountered is deliberately coded into the driver.
>
> Why is it that the jdbc driver truncates the fractional part of the seconds to
> 3 decimal places?
>
> Thanks for any direction you might be able to offer in this respect.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>




pgsql-jdbc by date:

Previous
From: Aaron Mulder
Date:
Subject: Re: Connection pool deadlock
Next
From: Daniel Bruce Lynes
Date:
Subject: Re: Timestamp precision