Re: BUG #5470: EXTRACT(epoch from ...) missing last digit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5470: EXTRACT(epoch from ...) missing last digit
Дата
Msg-id 10742.1274722027@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5470: EXTRACT(epoch from ...) missing last digit  ("Randy Solomonson" <pgsqlbugs@solomonson.com>)
Список pgsql-bugs
"Randy Solomonson" <pgsqlbugs@solomonson.com> writes:
> When converting from Timestamp with Time zone to seconds since epoch, the
> last digit of the fraction of a second is missing.

The result of extract() is float8, so you can't really expect it to
have more than about 15 digits of precision.

            regards, tom lane

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

Предыдущее
От: "Randy Solomonson"
Дата:
Сообщение: BUG #5470: EXTRACT(epoch from ...) missing last digit
Следующее
От: Mark Kirkwood
Дата:
Сообщение: xml data type implications of no =