bug in current_timestamp(1)

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема bug in current_timestamp(1)
Дата
Msg-id 09b301c35646$89d14a80$2800a8c0@mars
обсуждение исходный текст
Ответы Re: bug in current_timestamp(1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Going from precision 3 down to 0 - note the bug in (1).  It always displays
a trailing zero.

australia=# select current_timestamp(3);       timestamptz
----------------------------2003-07-30 10:54:55.642+08
(1 row)

australia=# select current_timestamp(2);       timestamptz
---------------------------2003-07-30 10:54:57.11+08
(1 row)

australia=# select current_timestamp(1);       timestamptz
---------------------------2003-07-30 10:54:58.20+08
(1 row)

australia=# select current_timestamp(0);     timestamptz
------------------------2003-07-30 10:55:03+08
(1 row)



Chris



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: using adbin, conbin, etc.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Upgrading my BSDI box, again