| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgres Hackers List <hackers(at)postgreSQL(dot)org> |
| Subject: | Re: [HACKERS] Re: A couple comments about datetime |
| Date: | 1999-07-08 03:21:25 |
| Message-ID: | 199907080321.XAA24260@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | 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 :)
>
Applied.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1999-07-08 03:23:16 | Re: [PORTS] Port Bug Report: No primary key possible with type reltime & timestamp |
| Previous Message | Bruce Momjian | 1999-07-08 03:08:03 | Re: [HACKERS] LIMIT and UNION |