Re: epoch to show millseconds

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: epoch to show millseconds
Дата
Msg-id 25214.995385840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на epoch to show millseconds  (Mars G Miro <mars@cannoncreek.com>)
Список pgsql-sql
Mars G Miro <mars@cannoncreek.com> writes:
>     how do I make it accurate up to milliseconds value?

You don't.  current_timestamp depends on the time() system call,
which only returns a number accurate to one second.

There is a higher-precision current time function in 7.1, but I
forget the details ... see the docs.  IIRC it existed but was
buggy in 7.0, so you'll need to update.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: First steps in plpgsql - language not recognized?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Select distinct and order by.