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:06
Message-ID: 20050423225306.109F45445F@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).

Modified Files:
--------------
pgsql/src/backend/utils/adt:
date.c (r1.104 -> r1.105)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/date.c.diff?r1=1.104&r2=1.105)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-04-23 22:53:27 pgsql: Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov.
Previous Message Tom Lane 2005-04-23 22:09:58 pgsql: Remove useless argtype_inherit() code, and make consequent