pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andreas <andreas@proxel.se>
To: 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: Thu, 21 Oct 2010 23:49:31 +0200
Message-ID: <1287697771.20773.2.camel@jansson> (raw)
In-Reply-To: <10183.1287526949@sss.pgh.pa.us>
References: <201010112055.o9BKtZf7011251@wwwmaster.postgresql.org>
	<8973.1286841006@sss.pgh.pa.us>
	<AANLkTin4Qt4XVF8s1UxHP36guTDHdSUPmCFukF0Oimw4@mail.gmail.com>
	<10183.1287526949@sss.pgh.pa.us>

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





view thread (7+ messages)  latest in thread

Message-ID: <1287697771.20773.2.camel@jansson>
Permalink:  ../1287697771.20773.2.camel@jansson/
Also on:    postgresql.org/message-id/1287697771.20773.2.camel@jansson

 · 

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: 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: <1287697771.20773.2.camel@jansson>
  References: <201010112055.o9BKtZf7011251@wwwmaster.postgresql.org> <8973.1286841006@sss.pgh.pa.us> <AANLkTin4Qt4XVF8s1UxHP36guTDHdSUPmCFukF0Oimw4@mail.gmail.com> <10183.1287526949@sss.pgh.pa.us> <1287697771.20773.2.camel@jansson>

* 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