Re: Rounding error on extract(epoch ..)

Поиск
Список
Период
Сортировка
От Moshe Jacobson
Тема Re: Rounding error on extract(epoch ..)
Дата
Msg-id CAJ4CxLmNhHoFATaThraBL8FzPBQUtPTqDFjz6BmrhStupMomAg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rounding error on extract(epoch ..)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Jan 24, 2014 11:52 AM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:

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

I see. But how is it that the correct result is returned when I pass the
output of extract straight into to_timestamp?

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