Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, kristianlejao(at)gmail(dot)com
Subject: Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c
Date: 2025-10-03 00:57:07
Message-ID: aN8fYwIw0p7ZMYGA@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Oct 02, 2025 at 03:20:32PM -0700, Masahiko Sawada wrote:
> I've updated the patch based on your comments. Please find the attached patch.

Looks sensible here in shape, a few style nits noticed while reading.
x
+# This test exerices EvalPlanQual with a SubLink sub-select (which should
+# be unaffected by any EPQ recheck behavior in the outer query)

The setup phase has a mix of tabs (used in the DO block) and
spaces used, that may render weirdly depending on one's setup when
showing the diffs. It looks to me that your intention is to use
spaces.

s/exerices/exercises/ And I would add a short explanation about the
reason why this script exists at the top of eval_plan_qual.spec. If
you don't feel strongly about that, feel free to ignore me.

One other bit I have noticed on the way, due to the extra whitespaces
at the bottom of the file:
$ git diff master --check
contrib/postgres_fdw/specs/eval_plan_qual.spec:52: new blank line at EOF.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Marko Tiikkaja 2025-10-03 06:23:20 Re: [BUGS] BUG #11500: PRIMARY KEY index not being used
Previous Message Masahiko Sawada 2025-10-02 22:20:32 Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c