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

From Richard Guo
Subject Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops
Date
Msg-id CAMbWs48sCRUbz0CmkPSFEH8G1b9y-erq6rqYpA0sPhb_ZmwOpQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops
List pgsql-bugs
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.

Thanks
Richard



pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Postgres: Queries are too slow after upgrading to PG17 from PG15
Next
From: Tom Lane
Date:
Subject: Re: BUG #19000: gist index returns inconsistent result with gist_inet_ops