Re: 2147483642::abstime is null, 2147483644::abstime is

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Filip Jirsák <Filip(dot)Jirsak(at)gymnacel(dot)cz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 2147483642::abstime is null, 2147483644::abstime is
Date: 2005-03-04 15:08:13
Message-ID: 1109948893.30529.417.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2005-03-04 at 08:25, Filip Jirsák wrote:
> Hi,
> why this statement:
> SELECT 2147483647::abstime, 2147483646::abstime, 2147483645::abstime,
> 2147483644::abstime, 2147483643::abstime, 2147483642::abstime,
> 2147483641::abstime, 2147483640::abstime, 2147483639::abstime;
>
> returns null form2147483646 and 2147483645? Is this feature or bug?
> (Server version is 7.4.5).

I'm running 7.4.7 on FC2, and i get this:

test=# SELECT 2147483647::abstime, 2147483646::abstime,
2147483645::abstime,
test-# 2147483644::abstime, 2147483643::abstime, 2147483642::abstime,
test-# 2147483641::abstime, 2147483640::abstime, 2147483639::abstime;
abstime | abstime | abstime | abstime
| abstime | abstime | abstime
| abstime | abstime
------------------------+---------+------------------------+----------+------------------------+------------------------+------------------------+------------------------+------------------------
2038-01-18 21:14:07-06 | invalid | 2038-01-18 21:14:05-06 | infinity |
2038-01-18 21:14:03-06 | 2038-01-18 21:14:02-06 | 2038-01-18 21:14:01-06
| 2038-01-18 21:14:00-06 | 2038-01-18 21:13:59-06
(1 row)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-03-04 15:11:59 Re: status of inheritance
Previous Message usya usya 2005-03-04 14:43:37 postgres service account