pgsql: Fix overflow in extract(epoch from interval) for intervals - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix overflow in extract(epoch from interval) for intervals
Date
Msg-id 20070916155632.3D0CB753E4C@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix overflow in extract(epoch from interval) for intervals exceeding 68 years.
Seems to have been introduced in 8.1 by careless SECS_PER_DAY
search-and-replace.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        timestamp.c (r1.169 -> r1.169.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c?r1=1.169&r2=1.169.2.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix overflow in extract(epoch from interval) for intervals
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix overflow in extract(epoch from interval) for intervals