| From: | shihao zhong <zhong950419(at)gmail(dot)com> |
|---|---|
| To: | ZizhuanLiu X-MAN <44973863(at)qq(dot)com> |
| Cc: | Greg Burd <greg(at)burd(dot)me>, rahul <rahul(at)rhyadav(dot)dev>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, rpsalmi <rpsalmi(at)gmail(dot)com>, pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>, guofenglinux <guofenglinux(at)gmail(dot)com> |
| Subject: | Re: BUG #17545: Incorrect selectivity for IS NOT DISTINCT FROM and NULLs |
| Date: | 2026-11-24 02:00:52 |
| Message-ID: | CAGRkXqQ=e5dRSdy84h_sgNw7w3M8Fv9TtzgjZTC5eUU6aV2aXQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Hi Zizhuan,
Thanks for the patch, and thanks Greg for testing.
In my tests, v3 and v2 give the same IS NOT DISTINCT FROM estimates.
v3 is better for IS DISTINCT FROM semi and anti joins and for <>.
Could you post those two parts as separate patches on top of v2?
The <> change can alter existing plans, and the sixth estimator
argument is a new interface. Both deserve their own review, and
splitting them lets this small fix go in without waiting.
I'm happy to review them.
Thanks,
Shihao
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-11-24 02:43:17 | Re: BUG #19881: CLUSTER uses a disabled sort path when enable_sort is off |
| Previous Message | shihao zhong | 2026-11-24 01:54:07 | Re: pg_rewind and hint bits leads to visibility corruption |