]> granicus.if.org Git - postgresql/commit
Fix datetime input functions to correctly detect integer overflow when
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:02 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:02 +0000 (19:34 +0000)
commit3a4e929b76ef0ece3770cc9df07ee1c37cd615ce
tree4e6e6097db7aff74ef5456cdc11fc70bc1a985c1
parent5862cda61147effec873c872b455a85f8127cf9b
Fix datetime input functions to correctly detect integer overflow when
running on a 64-bit platform ... strtol() will happily return 64-bit
output in that case.  Per bug #4231 from Geoff Tolley.
src/backend/utils/adt/datetime.c