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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: andreas <andreas(at)proxel(dot)se>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5705: btree_gist: Index on inet changes query result
Date: 2011-03-05 20:14:10
Message-ID: 201103052014.p25KEA409361@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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(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
>
> 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2011-03-05 21:18:19 Re: BUG #5915: OldSerXidAdd inflates pg_serial too much
Previous Message Dave Page 2011-03-05 18:20:43 Re: Error mesage during installation