Fix several places where fractional-second inputs were misprocessed

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

Commit: 1b637d7cbebfaec15a43275d4419b5a90864384b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-05T17:39:36Z
Releases: 7.3.5
Fix several places where fractional-second inputs were misprocessed
in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes
when more than six fractional digits were supplied.  Per bug report
from Philipp Reisner.

Files

PathChange+/−
src/backend/utils/adt/datetime.c modified +38 −33