Re: pg_*_advice: tsv load failure, etc.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_*_advice: tsv load failure, etc.
Date: 2026-09-10 20:18:12
Message-ID: CA+Tgmoa28S4_B44VU8bqX=fLvQvCZA7poxug2bixRFTpcwusDQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 10, 2026 at 4:10 PM Ayush Tiwari
<ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
> I applied v5 and spent some time looking at 0002. ISTM there may still be
> one nearby case that isn't handled:
>
> JOIN_ORDER((a b))
> JOIN_ORDER({a b})
>
> AFAICS, both forms are enforced correctly, but the feedback says
> "partially matched".

Oh, crap, you're right. I actually noticed that and then set it aside
because it was in a different area of the code than I was fixing, and
then I forget to come back to it. Oops. I'll have to add another patch
to cover that case.

> > 0003 Disallow empty sublists within JOIN_ORDER(). New in this version
> > of the patch set. Trivial fix for a gap in parse-time validation of
> > advice strings.
>
> 0003 looks good to me.

Thanks.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilia Evdokimov 2026-09-10 20:20:05 Re: Fix var_eq_const: sum selectivity of all matching MCV entries instead of stopping at first match
Previous Message Nathan Bossart 2026-09-10 20:12:31 Re: Rename PqMsg_Progress to PqMsg_ParallelWorkerProgress