Re: A couple comments about datetime

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: A couple comments about datetime
Date: 1999-07-07 00:04:55
Message-ID: 378299A7.DF18BD78@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 1999-07-07 00:31:11 RE: [HACKERS] Fwd: Joins and links
Previous Message Hannu Krosing 1999-07-06 23:18:10 Re: [HACKERS] Fwd: Joins and links