In the integer-datetimes case, date2timestamp and date2timestamptz need
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 Sep 2007 01:10:42 +0000 (01:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 Sep 2007 01:10:42 +0000 (01:10 +0000)
commit6f21c57a975acdc600c22f16521f2f6a3847e83d
tree8808cfcab28e5e917955d301409a41fb439a8683
parent93407d3998cc8717993dbc102f854a478985bc19
In the integer-datetimes case, date2timestamp and date2timestamptz need
to check for overflow because the legal range of type date is actually
wider than timestamp's.  Problem found by Neil Conway.
src/backend/utils/adt/date.c