Re: A couple comments about datetime - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: A couple comments about datetime
Date
Msg-id 378299A7.DF18BD78@alumni.caltech.edu
Whole thread Raw
Responses Re: [HACKERS] Re: A couple comments about datetime
List 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 by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] Fwd: Joins and links
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Fwd: Joins and links