broken time operator?

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: pgsql-hackers(at)postgresql(dot)org
Subject: broken time operator?
Date: 2001-11-21 00:13:42
Message-ID: m3oflxdlqh.fsf@dep4.fciencias.unam.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Guys,
Something seems to be broken with the time operators in 7.2b2:

regress=# select '7:00'::time - '8:00'::time;
?column?
----------
01:00
(1 row)

regress=# select '8:00'::time - '7:00'::time;
?column?
----------
-01:00
(1 row)

regress=# select version();
version
-------------------------------------------------------------
PostgreSQL 7.2b2 on i586-pc-linux-gnu, compiled by GCC 2.96
(1 row)

Kind regards,
Manuel.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-21 01:10:51 Re: OCTET_LENGTH is wrong
Previous Message Fábio Santana 2001-11-20 23:56:55 RULES