Re: Inconsistent RestrictInfo serial numbers - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Inconsistent RestrictInfo serial numbers
Date
Msg-id CAMbWs48D2=jtfBF-k3mL=mMVVf-AKHu=Jwc1M7fHxpM0F+_aiA@mail.gmail.com
Whole thread Raw
Responses Re: Inconsistent RestrictInfo serial numbers
List pgsql-hackers
On Tue, Oct 8, 2024 at 8:20 PM Richard Guo <guofenglinux@gmail.com> wrote:
>
> I ran into an "ERROR:  variable not found in subplan target lists"
> error, which can be reproduced with the following query.

> To fix, I think we can reset the root->last_rinfo_serial counter after
> generating the additional constant-FALSE RestrictInfo.  Please see
> attached.

I intend to push this patch shortly, barring any objections, so that
it can catch up with the next minor release (Nov. 14).

Thanks
Richard



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Time to add a Git .mailmap?
Next
From: Peter Eisentraut
Date:
Subject: Re: further #include cleanup (IWYU)