Re: Fix var_eq_const: sum selectivity of all matching MCV entries instead of stopping at first match

From: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
To: ZizhuanLiu X-MAN <44973863(at)qq(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Damil Shahzad <shahzaddamil(at)gmail(dot)com>
Subject: Re: Fix var_eq_const: sum selectivity of all matching MCV entries instead of stopping at first match
Date: 2026-09-10 20:20:05
Message-ID: 58a40c80-3ba0-416b-8805-c40f7b3cba65@tantorlabs.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/10/26 16:11, ZizhuanLiu X-MAN wrote:

> Thanks everyone for your time reviewing and for the valuable feedback.
> I agree with the overall suggestions. Attached is the v5 patch.

LGTM, but you should apply pgindent to this.

--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC,
https://tantorlabs.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2026-09-10 20:33:21 Re: Trying to break online checksums with LLMs
Previous Message Robert Haas 2026-09-10 20:18:12 Re: pg_*_advice: tsv load failure, etc.