pgsql: In the integer-datetimes case, date2timestamp and

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
Thread:
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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-09-26 08:45:50 pgsql: Document that libpq's PQntuples() might overflow.
Previous Message Tom Lane 2007-09-26 00:32:46 pgsql: Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS