forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit89840d7
committed
Provide real selectivity estimators for inet/cidr operators.
This patch fills in the formerly-stub networksel() and networkjoinsel()estimation functions. Those are used for << <<= >> >>= and && operatorson inet/cidr types. The estimation is not perfect, certainly, becausewe rely on the existing statistics collected for the inet btree operators.But it's a long way better than nothing, and it's not clear that askingANALYZE to collect separate stats for these operators would be a win.Emre Hasegeli, with reviews from Dilip Kumar and Heikki Linnakangas,and some further hacking by me1 parentf770870 commit89840d7
1 file changed
+977
-3
lines changed0 commit comments
Comments
(0)