Re: A couple comments about datetime

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: A couple comments about datetime
Дата
Msg-id 378299A7.DF18BD78@alumni.caltech.edu
обсуждение исходный текст
Ответы Re: [HACKERS] Re: A couple comments about datetime  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
> In both datetime_trunc() and timespan_trunc() in dt.c,
> the DTK_MICROSEC case is just like the DTK_MILLISEC case.
> I think this is wrong and it ought to look like
>         fsec = rint(fsec * 1000000) / 1000000;
> no?

Tom, I looked at this and your fix is the right thing. I am leaving
for a week of vacation, and don't have time to apply the fix. If you
would like to, be my guest :)

TIA
                  - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] Fwd: Joins and links
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] Fwd: Joins and links