• Tom Lane's avatar
    Merge restrictlist_selectivity into clauselist_selectivity by · 82b4dd39
    Tom Lane authored
    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.
    82b4dd39
clausesel.c 17 KB