Re: Rounding error on extract(epoch ..)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rounding error on extract(epoch ..)
Дата
Msg-id 14380.1390582373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rounding error on extract(epoch ..)  (Moshe Jacobson <moshe@neadwerx.com>)
Ответы Re: Rounding error on extract(epoch ..)  (Moshe Jacobson <moshe@neadwerx.com>)
Список pgsql-bugs
Moshe Jacobson <moshe@neadwerx.com> writes:
> It seems that extract(epoch ..) does not preserve the entire precision of
> the passed-in timestamp.

The result is float8, so being good to about 16 digits is expected
behavior.

            regards, tom lane

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

Предыдущее
От: Moshe Jacobson
Дата:
Сообщение: Rounding error on extract(epoch ..)
Следующее
От: kieran.mccusker@gmail.com
Дата:
Сообщение: BUG #8956: fedora download does not contain pg_config