Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 335391337BBB for ; Sat, 5 Mar 2011 16:14:30 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 82972-04 for ; Sat, 5 Mar 2011 20:14:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 6E7EC133616B for ; Sat, 5 Mar 2011 16:14:18 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p25KEA409361; Sat, 5 Mar 2011 15:14:10 -0500 (EST) From: Bruce Momjian Message-Id: <201103052014.p25KEA409361@momjian.us> Subject: Re: BUG #5705: btree_gist: Index on inet changes query result In-Reply-To: <1287697771.20773.2.camel@jansson> To: andreas Date: Sat, 5 Mar 2011 15:14:10 -0500 (EST) CC: Tom Lane , Robert Haas , pgsql-bugs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/120 X-Sequence-Number: 29630 This is currently a TODO so at least we are tracking it. --------------------------------------------------------------------------- andreas wrote: > On Tue, 2010-10-19 at 18:22 -0400, Tom Lane wrote: > > Robert Haas writes: > > > On Mon, Oct 11, 2010 at 7:50 PM, Tom Lane wrote: > > >> Well, actually the btree_gist implementation for inet is a completely > > >> broken piece of junk: it thinks that convert_network_to_scalar is 100% > > >> trustworthy and can be used as a substitute for the real comparison > > >> functions, which isn't even approximately true. > > > > > Are you planning to fix this? > > > > No. I don't understand why Teodor did it like that, so I'm not going > > to try to change it. I'd be willing to take responsibility for ripping > > out btree_gist's inet support altogether ... > > > > regards, tom lane > > That is the reason why I just reported it instead of trying to fix it > myself first. Since I could not understand why it was done like that, I > did not feel like fixing it. > > Best regards, > Andreas Karlsson > > > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +