Repair array subscript overrun identified by Yichen Xie. Reduce the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 726b7f3b3cc067de053f7d7c0aa488e9c6c211f8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-01-29T01:09:03Z
Releases: 7.3.2
Repair array subscript overrun identified by Yichen Xie.  Reduce the
value of MAX_TIME_PRECISION in floating-point-timestamp-storage case
from 13 to 10, which is as much as time_out is actually willing to print.
(The alternative of increasing the number of digits we are willing to
print looks risky; we might find ourselves printing roundoff garbage.)

Files

PathChange+/−
doc/src/sgml/datatype.sgml modified +93 −71
src/backend/utils/adt/date.c modified +11 −6
src/backend/utils/adt/datetime.c modified +35 −63
src/include/utils/date.h modified +2 −2