Merge restrictlist_selectivity into clauselist_selectivity by

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 82b4dd394f50f75a34d3ddc1c7d54b8d8fcace33
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-04T03:51:52Z
Releases: 8.0.0
Merge restrictlist_selectivity into clauselist_selectivity by
teaching the latter to accept either RestrictInfo nodes or bare
clause expressions; and cache the selectivity result in the RestrictInfo
node when possible.  This extends the caching behavior of approx_selectivity
to many more contexts, and should reduce duplicate selectivity
calculations.

Files