> In both datetime_trunc() and timespan_trunc() in dt.c,
Bruce Momjian <bruce@momjian.us>
> 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 Lane.
Files
| Path | Change | +/− |
|---|---|---|
| doc/TODO | modified | +2 −1 |
| src/backend/utils/adt/dt.c | modified | +3 −3 |