pgsql: In the integer-datetimes case, date2timestamp and

Lists: pgsql-committers
From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In the integer-datetimes case, date2timestamp and
Date: 2007-09-26 01:10:42
Message-ID: 20070926011042.751FE753E4C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
date.c (r1.135 -> r1.136)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/date.c?r1=1.135&r2=1.136)