Re: Timestamp precision

From: Barry Lind <blind(at)xythos(dot)com>
To: Daniel Bruce Lynes <dlynes(at)shaw(dot)ca>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Timestamp precision
Date: 2003-03-06 17:23:24
Message-ID: 3E67840C.7080404@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Daniel Bruce Lynes 2003-03-07 03:22:29 Re: Timestamp precision
Previous Message Aaron Mulder 2003-03-06 17:14:44 Re: Connection pool deadlock