Re: Selectivity estimation for inet operators - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Selectivity estimation for inet operators
Date
Msg-id 8887.1409426256@sss.pgh.pa.us
Whole thread Raw
In response to Re: Selectivity estimation for inet operators  (Emre Hasegeli <emre@hasegeli.com>)
Responses Re: Selectivity estimation for inet operators
List pgsql-hackers
Emre Hasegeli <emre@hasegeli.com> writes:
> I updated the patch to cover semi and anti joins with eqjoinsel_semi().
> I think it is better than returning a constant.

What you did there is utterly unacceptable from a modularity standpoint;
and considering that the values will be nowhere near right, the argument
that "it's better than returning a constant" seems pretty weak.  I think
you should just take that out again.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: postgresql latency & bgwriter not doing its job
Next
From: Tom Lane
Date:
Subject: Re: Selectivity estimation for inet operators