Re: Infinite Interval

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: jian he <jian(dot)universality(at)gmail(dot)com>, Joseph Koshakow <koshy44(at)gmail(dot)com>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Infinite Interval
Date: 2023-01-01 02:05:14
Message-ID: 0c1a4a55-bc13-59d1-1e2d-8d74870eec7a@postgresfriends.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/31/22 06:09, jian he wrote:
>
> Since in float8 you can use '+inf', '+infinity', So should we also make
> interval '+infinity' valid?

Yes.

> Also in timestamp. '+infinity'::timestamp is invalid, should we make it
> valid.

Yes, we should. I wrote a trivial patch for this a while ago but it
appears I never posted it. I will post that in a new thread so as not
to confuse the bots.
--
Vik Fearing

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2023-01-01 02:10:23 +infinity for dates and timestamps
Previous Message Noah Misch 2023-01-01 01:55:51 Re: Announcing Release 15 of the PostgreSQL Buildfarm client