Java timestamps

From: "David Wall" <d(dot)wall(at)computer(dot)org>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Java timestamps
Date: 2001-04-21 03:11:03
Message-ID: 003901c0ca10$b301c8e0$5a2b7ad8@expertrade.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

According to the docs, the PostgreSQL TIMESTAMP is accurate to microseconds. But the typical display only goes to centiseconds. Java and Unix timestamps generally go to milliseconds.

Is there a way to get Postgresql 7.1 to report times with higher resolution? As it is, when you store a timestamp via JDBC, you won't get back the same time you put in because it's missing that last digit of resolution.

Thanks,
David

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Wall 2001-04-21 23:15:46 ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query
Previous Message Tom Lane 2001-04-20 21:34:32 Re: Re: Now for the VARDATA, VARSIZE, and VARHDRSZ stuff