Repair array subscript overrun identified by Yichen Xie. Reduce the
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |