timestamp-to-date broken in current sources

Поиск
Список
Период
Сортировка
Искать

timestamp-to-date broken in current sources

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
With CVS tip (and float-type timestamps) I get

regression=# select date('2002-02-01 00:00:00'::timestamp);   date
------------2000-01-01
(1 row)

Seems to be the same result no matter what timestamp is put in.
		regards, tom lane

Re: timestamp-to-date broken in current sources

От:
Thomas Lockhart <thomas@fourpalms.org>
Дата:
> With CVS tip (and float-type timestamps) I get
...
> Seems to be the same result no matter what timestamp is put in.

Yup. Broken for double timestamps. Will patch...
                - Thomas

FAQ