OSDN Git Service

> In both datetime_trunc() and timespan_trunc() in dt.c,
authorBruce Momjian <bruce@momjian.us>
Thu, 8 Jul 1999 03:22:46 +0000 (03:22 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 8 Jul 1999 03:22:46 +0000 (03:22 +0000)
commit2cf2a4fe2be67b3be0d39d3713fadc906fb95877
treec4509ae3bbfcc38f707c333681775e173cc0f970
parent70ce98b77a75a95a22d816139f4e763c405310ea
> 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.
doc/TODO
src/backend/utils/adt/dt.c