pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5705: btree_gist: Index on inet changes query result
Date: Tue, 19 Oct 2010 18:22:29 -0400
Message-ID: <10183.1287526949@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTin4Qt4XVF8s1UxHP36guTDHdSUPmCFukF0Oimw4@mail.gmail.com>
References: <201010112055.o9BKtZf7011251@wwwmaster.postgresql.org>
	<8973.1286841006@sss.pgh.pa.us>
	<AANLkTin4Qt4XVF8s1UxHP36guTDHdSUPmCFukF0Oimw4@mail.gmail.com>

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



view thread (7+ messages)  latest in thread

Message-ID: <10183.1287526949@sss.pgh.pa.us>
Permalink:  ../10183.1287526949@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10183.1287526949@sss.pgh.pa.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: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andreas@proxel.se
  Subject: Re: BUG #5705: btree_gist: Index on inet changes query result
  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>

* 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