Original >From: Tom Lane <[email protected]> >Date: 2026-07-30 21:39 >To: ZizhuanLiu X-MAN <[email protected]> >Cc: pgsql-hackers <[email protected]> >Subject: Re: Fix var_eq_const: sum selectivity of all matching MCV entries >instead of stopping at first match
>I think you need a far stronger >argument for changing the existing tradeoff than "I believe". Although I have made efforts to implement it, there is still no satisfactory and acceptable solution available at present. >That would double the function's runtime on average, without changing >the results at all in most cases (it could only be different if the >given operator has different semantics from the equality operator used >while building the statistics list). So I agree with Tom’s reasoning. regards, -- ZizhuanLiu (X-MAN) [email protected]
