> 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)
commit8bc6144da686b3d1350fa38ec1c529338fc97813
treee62a3f184ba4f894937e844fd1fc6b10386a4e29
parentefac6ba536967cb5d48b1fa07ff9b21f55ccf134
> 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