• Tom Lane's avatar
    Save another little bit of planner overhead on simple queries, by having · aca467b9
    Tom Lane authored
    clauselist_selectivity skip some analysis that's useless when there's only
    one clause in the given list.  Actually this can win even for not-so-simple
    queries, because we also apply clauselist_selectivity to sublists such as the
    quals matching an index; which are likely to have only a single entry even
    when the total query is quite complicated.
    aca467b9
clausesel.c 20.5 KB