| From: | Ayoub Kazar <ayoub(dot)kazar(at)data-bene(dot)io> |
|---|---|
| To: | Richard Guo <guofenglinux(at)gmail(dot)com> |
| Cc: | wenhui qiu <qiuwenhuifx(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Simplify the uniqueness proof for self-join elimination |
| Date: | 2026-11-30 21:47:21 |
| Message-ID: | 8e69d956-3f2b-4c07-a9b7-db28720efc5f@data-bene.io |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
On 30/11/2026 03:22, Richard Guo wrote:
> On Fri, Nov 27, 2026 at 6:57 PM Ayoub Kazar <ayoub(dot)kazar(at)data-bene(dot)io> wrote:
>> Agree, option 1 seems fine.
> Thanks for the report and the analysis.
>
> I agree this is a pre-existing issue that SJE happened to mask. On
> master, SJE builds the derived clause from t1's side before path
> generation. With v2's early exit, the clause is instead built from
> t2's side when the advice disables TID scans on t1, so the TID Cond
> flips.
>
> The option 1 looks good to me. 0001 implements it. This changes the
> TID Cond of the two parameterized TID scans in tidscan.out. 0002 is
> the SJE patch, unchanged from v2.
>
Patches look good to me.
Regards,
Ayoub Kazar
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2026-11-30 21:52:39 | Re: Trying to break online checksums with LLMs |
| Previous Message | Jelte Fennema-Nio | 2026-11-30 21:38:44 | Re: Safer and simpler HTAB macros (foreach_hash and hash_make), take two |