Re: Assert failure in find_var_for_subquery_tle

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Assert failure in find_var_for_subquery_tle
Date: 2026-10-16 07:53:21
Message-ID: CAMbWs49HK1RYw6rTvD32sqLQemuErUXmKDnAaXjo7qQti_KUpQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 8, 2026 at 4:42 PM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> To fix, I think we can just ignore Vars that do not belong to the
> subquery rel. Such a Var cannot be a reference to the subquery's
> output, so it should never be treated as a match.

Pushed and back-patched to all supported branches.

- Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2026-10-16 07:53:43 Re: ALTER TABLE uses a bistate but not for toast tables
Previous Message Bertrand Drouvot 2026-10-16 07:45:26 Use a bulk-write buffer access strategy for TOAST inserts