| From: | Kirill Reshke <reshkekirill(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| 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 18:42:58 |
| Message-ID: | CALdSSPgSptu6DrzuCZVamJOp=ZyMiKik2oskzWKfZtxbLRP7HA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Thu, 3 Dec 2026 at 23:34, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Kirill Reshke <reshkekirill(at)gmail(dot)com> writes:
> > We need to allow PG_INT32_MAX months as attached
>
> Meh. It's true that this can't accidentally match interval infinity
> since the lower-order fields are bounded, but there's a question of
> diminishing returns here. I thought briefly about trying to extend
> the range of non-Infinity results a little further by allowing the
> lower fields to assume larger values than what the v2 patch will do.
> But we are not going to be able to completely eliminate the need to
> sometimes return Infinity, and frankly all these cases are already
> far outside the range of conceivable practical use. So I'm content
> with what v2 did.
Understood. We will receive an analogous bug report sooner or later
anyway, but can agree it does not matter much anyway.
>
> 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?
15b3dc140d was an improvement with some holes, no regression, but some
gaps. No field reports from real-world use cases.
We can simply avoid backpatching, I think
--
Best regards,
Kirill Reshke
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Aman Ganapathy | 2026-12-03 18:58:27 | Re: BUG #19968: ALTER COLUMN TYPE fails with internal errors if a dependent object is dropped concurrently |
| Previous Message | Ishjaap Singh | 2026-12-03 18:36:03 | Re: BUG #19956: json #>, #>> and json_extract_path resolve a negative array index against an earlier sibling array |