pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: andreas <andreas@proxel.se>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5705: btree_gist: Index on inet changes query result
Date: Sat, 5 Mar 2011 15:14:10 -0500 (EST)
Message-ID: <201103052014.p25KEA409361@momjian.us> (raw)
In-Reply-To: <1287697771.20773.2.camel@jansson>


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 <robertmhaas@gmail.com> writes:
> > > On Mon, Oct 11, 2010 at 7:50 PM, Tom Lane <tgl@sss.pgh.pa.us> 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  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (7+ messages)

Message-ID: <201103052014.p25KEA409361@momjian.us>
Permalink:  ../201103052014.p25KEA409361@momjian.us/
Also on:    postgresql.org/message-id/201103052014.p25KEA409361@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, andreas@proxel.se, tgl@sss.pgh.pa.us, robertmhaas@gmail.com
  Subject: Re: BUG #5705: btree_gist: Index on inet changes query result
  In-Reply-To: <201103052014.p25KEA409361@momjian.us>
  References: <1287697771.20773.2.camel@jansson> <201103052014.p25KEA409361@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox