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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Cc: Masahiko Sawada <sawada(dot)mshk(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-06 03:37:21
Message-ID: aOM5cXaj24EE-ryO@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Oct 06, 2025 at 02:15:25AM +0900, Etsuro Fujita wrote:
> The isolation test fails. I think you failed to update the expected
> file. Also, you left the useless alias for table a alone...

Yep, the EXPLAIN plan was missing. Another thing that you have missed
is to update postgres_fdw's .gitignore so as it discards /output_iso/.

The updated patch attached, labelled v6, addresses all that.
--
Michael

Attachment Content-Type Size
v6-0001-postgres_fdw-Fix-assertion-failure-when-EvalPlanQ.patch text/x-diff 7.9 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2025-10-06 03:42:06 Re: BUG #19074: pg_dump from v18 loses the NOT NULL flag in the inherited table field when dumping v17-databases
Previous Message Marco Boeringa 2025-10-05 20:22:32 Re: Potential "AIO / io workers" inter-worker locking issue in PG18?