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

From Emre Hasegeli
Subject Re: Selectivity estimation for inet operators
Date
Msg-id 20140907160939.GA25883@debian
Whole thread Raw
In response to Re: Selectivity estimation for inet operators  (Emre Hasegeli <emre@hasegeli.com>)
Responses Re: Selectivity estimation for inet operators  ("Brightwell, Adam" <adam.brightwell@crunchydatasolutions.com>)
Re: Selectivity estimation for inet operators  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
> > > 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.
>
> I will try to come up with a better, data type specific implementation
> in a week.

New version with semi join estimation function attached.

Attachment

pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: Improving PL/PgSQL
Next
From: Andrew Gierth
Date:
Subject: Re: Final Patch for GROUPING SETS - unrecognized node type: 347