Re: Timestamp Question

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Timestamp Question
Дата
Msg-id 40F15409.5030102@opencloud.com
обсуждение исходный текст
Ответ на Re: Timestamp Question  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Dave Cramer wrote:
> the real question is where do you get microsecond values from in java,
> and are they real?

You get them out of a database, or you compute them, or the user enters
them, or you get them from another system. And so on. Dealing with
sub-millisecond precision is a perfectly reasonable thing to be doing.
java.sql.Timestamp already supports this.

> In other words, if you are getting system time in
> microseconds ( if that's even possible ) it will take you a few more
> microseconds to insert it.

What does system time have to do with this?

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Timestamp Question
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Timestamp Question