Re: btree_gin: Incorrect leftmost interval value - Mailing list pgsql-hackers

From Tom Lane
Subject Re: btree_gin: Incorrect leftmost interval value
Date
Msg-id 1550349.1698416864@sss.pgh.pa.us
Whole thread Raw
In response to Re: btree_gin: Incorrect leftmost interval value  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
Dean Rasheed <dean.a.rasheed@gmail.com> writes:
> On Fri, 27 Oct 2023 at 13:56, Ashutosh Bapat
> <ashutosh.bapat.oss@gmail.com> wrote:
>> Should we change this to call INTERVAL_NOBEGIN() to be added by
>> infinite interval patches?

> Given that this is a bug that can lead to incorrect query results, I
> plan to back-patch it, and INTERVAL_NOBEGIN() wouldn't make sense in
> back-branches that don't have infinite intervals.

Agreed.  When/if the infinite interval patch lands, it could update
this function to use the macro.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Enderbury Island disappeared from timezone database
Next
From: Dean Rasheed
Date:
Subject: Re: MERGE ... RETURNING