| From: | shihao zhong <zhong950419(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Kirill Reshke <reshkekirill(at)gmail(dot)com>, 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-05 16:53:54 |
| Message-ID: | CAGRkXqRovB3Hov5HhEfKA5Xw-YJ-P6EG_si+h6uUmH+OYsQNaQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Hi Tom,
> So I'm content with what v2 did.
v2 still has one ordering problem. From '0', '-2147483648 mons' gets
infinity but the farther '-2147483647 mons -2147483647 days' gets a
finite distance. So the index and a sort disagree on which is nearest.
Attached is v3 of Raja's patch with a fix for that. It still goes on
top of your 0002.
Thanks,
Shihao
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-btree_gist-Don-t-report-a-finite-interval-distanc.patch | application/octet-stream | 7.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | shihao zhong | 2026-12-05 17:25:38 | Re: BUG #19580: Can not FINALIZE detach partition. Table in stuck |
| Previous Message | shihao zhong | 2026-12-05 16:40:37 | Re: BUG #19976: Internal planner error: ERROR: XX000: too late to create a new PlaceHolderInfo |