Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c - Mailing list pgsql-bugs

From Álvaro Herrera
Subject Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c
Date
Msg-id 202509261330.5acuwmf57rvu@alvherre.pgsql
Whole thread Raw
In response to Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c  (Etsuro Fujita <etsuro.fujita@gmail.com>)
List pgsql-bugs
On 2025-Sep-24, Etsuro Fujita wrote:

> I took a quick glance at the patch.  My initial comment is: it only
> includes the test case discussed here, but I think it's a good idea to
> add more cases in it (that exercise code paths in
> postgresRecheckForeignScan), as I mentioned upthread.  What do you
> think about that?  If no objections, I'd like to update it to include
> such cases.

I would like to suggest a different approach: because this patch is
known to fix a server crash in a known case, it would be better to get
the fix (and its corresponding test) pushed as is without further delay.
Additional tests are an excellent idea, but I think we shouldn't make
this patch wait for them.  If further fixes are deemed necessary for
those other (thus far hypothetical) tests, we can still make them
afterwards.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



pgsql-bugs by date:

Previous
From: Rahila Syed
Date:
Subject: Re: BUG #19064: Trigger allows creation with invalid column references but fails at runtime
Next
From: Anthony Sotolongo
Date:
Subject: Re: BUG #19064: Trigger allows creation with invalid column references but fails at runtime