In the integer-datetimes case, date2timestamp and date2timestamptz need
commit87f3805b0da8bcc3e1ff61b1b99e7fa60c895068
authortgl <tgl>
Wed, 26 Sep 2007 01:10:42 +0000 (26 01:10 +0000)
committertgl <tgl>
Wed, 26 Sep 2007 01:10:42 +0000 (26 01:10 +0000)
tree585153aff8497a1fa5c19837da0db6994721bac3
parent85e2ee62fa978248310cdc26702cbbd13f692416
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