pgsql: Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov.
Date: 2005-04-23 22:53:45
Message-ID: 20050423225345.1FD895450A@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov. Comparison
of timetz values misbehaved in --enable-integer-datetime cases, and
EXTRACT(EPOCH) subtracted the zone instead of adding it in all cases.
Backpatch to all supported releases (except --enable-integer-datetime code
does not exist in 7.2).

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
date.c (r1.93.2.1 -> r1.93.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/date.c.diff?r1=1.93.2.1&r2=1.93.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-04-23 22:54:04 pgsql: Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov.
Previous Message Tom Lane 2005-04-23 22:53:27 pgsql: Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov.