Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops
Date
Msg-id 2189027.1754019208@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops
Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops
List pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes:
> On Fri, Aug 1, 2025 at 3:17 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> We've known about this for, um, decades: btree_gist's support for
>> inet/cidr is fundamentally broken [1][2].  It's still there
>> only because nobody's been able to think of a way of removing it
>> without causing pain for anyone who has indexes like that.
>> But maybe we should just accept that it's going to cause pain
>> and remove it.

> I think correctness should take priority over avoiding pain.

Yeah.  I spent a little time investigating this today, and hope
to have a patch to propose tomorrow.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops
Next
From: Alexandra Wang
Date:
Subject: Re: BUG #16961: Could not access status of transaction