Bug(?) around 'infinity'

From: Fduch the Pravking <fduch(at)antar(dot)bryansk(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug(?) around 'infinity'
Date: 2002-01-24 20:19:36
Message-ID: 20020124231936.B24565@zombie.antar.bryansk.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Operating system:
FreeBSD 4.4-STABLE

PostgreSQL version:
postmaster (PostgreSQL) 7.1.3

psql input:
test=> SELECT timestamp 'infinity' - timestamp 'infinity';

psql output:
?column?
-------------------------------------------------
-2147483648 days --2147483648:-2147483648:00NaN
(1 row)

In the documentation, nothing said about 'infinity' and '-infinity'
timestamp values, except that the first is later than other valid times,
and the second is earlier than other valid times.

Sorry if my English is poor.

--
Fduch M. Pravking

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-01-24 20:27:27 Re: Bug(?) around 'infinity'
Previous Message Tom Lane 2002-01-24 18:28:56 Re: Bug #568: RULE ON SELECT with old values.