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 20070916155639.BC20C753E4C@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_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        timestamp.c (r1.157.2.1 -> r1.157.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c?r1=1.157.2.1&r2=1.157.2.2)

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: Remove Assert(BgWriterShmem != NULL), which is rather pointless