Return value error of‘to_timestamp’

Поиск
Список
Период
Сортировка
От 甄明洋
Тема Return value error of‘to_timestamp’
Дата
Msg-id 379c479a.f0c.15653e44bba.Coremail.zhenmingyang@yeah.net
обсуждение исходный текст
Ответы Re: [BUGS] Return value error of‘to_timestamp’  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
When the fractional seconds more than 6, the return value of to_timestamp without truncation.
Postgres think the total value of the.123456789 as a fractional second part and convert to microsecond stored in database.
 example:
postgres=# select to_timestamp('1990-1-1 11:11:11.123456789', 'YYYY-MM-DD HH24:MI:SS.US');
         to_timestamp
-------------------------------
 1990-01-01 11:13:14.456789+08
(1 row)
postgres=#



 

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

Предыдущее
От: digoal@126.com
Дата:
Сообщение: BUG #14277: when define USE_NAMED_POSIX_SEMAPHORES , make error
Следующее
От: paco@hernandezgomez.com
Дата:
Сообщение: BUG #14278: Problem searching spanish words with accent mark outside the stem