Skip site navigation (1) Skip section navigation (2)

Re: BUG #5705: btree_gist: Index on inet changes query result

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andreas Karlsson <andreas(at)proxel(dot)se>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5705: btree_gist: Index on inet changes query result
Date: 2010-10-19 22:22:29
Message-ID: 10183.1287526949@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Mon, Oct 11, 2010 at 7:50 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

pgsql-bugs by date

Next:From: Andrew TiptonDate: 2010-10-19 22:43:53
Subject: Re: BUG #5716: Regression joining tables in UPDATE with composite types
Previous:From: Robert HaasDate: 2010-10-19 20:57:05
Subject: Re: BUG #5705: btree_gist: Index on inet changes query result

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group