Re: btree_gist: <-> fails on same-sign infinite intervals

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Cc: Raja Sai pranav <rajasaipranav0(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: btree_gist: <-> fails on same-sign infinite intervals
Date: 2026-12-03 21:50:29
Message-ID: 2415869.1796334629@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Kirill Reshke <reshkekirill(at)gmail(dot)com> writes:
> On Thu, 3 Dec 2026 at 23:34, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> A bigger problem is that the v2 patch depends on int128.h support
>> that doesn't exist pre-v19. I have a proposal out to back-patch
>> that stuff [1], but if anyone objects then we are going to have to
>> back off the whole thing and go back to v1.

> I did notice this thread but I didn't get why we need to backport
> anything. Fixing in HEAD is OK, but why do we care about backbenches?

I already back-patched c1dd701fb as far as v17, and I don't think
it's great to intentionally create multiple changes of behavior
across branches. If we're changing this module's behavior with
infinite (or near-infinite) intervals, we should do it once and
get it over with.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dean Rasheed 2026-12-03 21:50:48 Re: BUG #19942: SIGSEGV crash (and wrong results) in MERGE ... RETURNING WITH (OLD/NEW) with VIRTUAL generated colum
Previous Message Dean Rasheed 2026-12-03 21:50:13 Re: BUG #19942: SIGSEGV crash (and wrong results) in MERGE ... RETURNING WITH (OLD/NEW) with VIRTUAL generated colum