Re: 'infinity'::Interval should be added - Mailing list pgsql-hackers

From Andres Freund
Subject Re: 'infinity'::Interval should be added
Date
Msg-id 20181215194855.sosuz52clzqk7wmm@alap3.anarazel.de
Whole thread Raw
In response to Re: 'infinity'::Interval should be added  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 'infinity'::Interval should be added
List pgsql-hackers
Hi,

On 2018-12-15 14:43:49 -0500, Tom Lane wrote:
> Note that timestamp_lt etc don't actually need any special case for
> infinity, and we could hope that the infinity representation for interval
> makes it possible to likewise not special-case it in interval comparisons.
> But I think it's silly to argue that infinity handling is a significant
> fraction of something like timestamp_pl_interval or timestamp_part.

I'm inclined to agree that if done carefully the overhead here is
probably acceptable.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Variable-length FunctionCallInfoData
Next
From: Tom Lane
Date:
Subject: Re: 'infinity'::Interval should be added