pgsql: Simplify bitmap updates in multivariate MCV code

2019-07-18 Thread Tomas Vondra
Simplify bitmap updates in multivariate MCV code When evaluating clauses on a multivariate MCV list, we build a bitmap tracking how the clauses match each item of the MCV list. When updating the bitmap we need to consider the current value (tracking how the item matches preceding clauses), match

pgsql: Simplify bitmap updates in multivariate MCV code

2019-07-18 Thread Tomas Vondra
Simplify bitmap updates in multivariate MCV code When evaluating clauses on a multivariate MCV list, we build a bitmap tracking how the clauses match each item of the MCV list. When updating the bitmap we need to consider the current value (tracking how the item matches preceding clauses), match