OSDN Git Service

Repair array subscript overrun identified by Yichen Xie. Reduce the
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Jan 2003 01:08:42 +0000 (01:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Jan 2003 01:08:42 +0000 (01:08 +0000)
commit23b8a0ce61c0fac72c9b40acb875bb0ab0a5b915
treeacb0ee063927379be7841f30fbb51e397ea75fdb
parentb8add56ed0910c3cb749ec2a6f2f7531a847132e
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.)
doc/src/sgml/datatype.sgml
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c
src/include/utils/date.h