Re: How to specify infinity for intervals ? - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: How to specify infinity for intervals ?
Date
Msg-id 6EFAF3CD-56AF-4177-8FBC-444CDA40B75B@myrealbox.com
Whole thread Raw
In response to Re: How to specify infinity for intervals ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: How to specify infinity for intervals ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
On Feb 25, 2006, at 12:09 , Bruce Momjian wrote:

> We have this TODO:
>
>         o Allow infinite dates just like infinite timestamps
>
> Do we need to add intervals to this?

I think to be consistent with the other datetime types, might as
well. Then one would be able to get an answer to

test=# select 'infinity'::timestamp - current_timestamp;
ERROR:  cannot subtract infinite timestamps

Michael Glaesemann
grzm myrealbox com


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ECPG and COPY
Next
From: "chris smith"
Date:
Subject: Re: Could DBmirror be done with the mechine using RPM installation instaed of souce code [tar.gz] ?