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: 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-08-18 07:02:37
Message-ID: aKLQDb71OPsehsIX@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Aug 18, 2025 at 03:58:45PM +0900, Michael Paquier wrote:
> That's enough to reproduce the MULL pointer dereference, thanks!
>
> I would suggest to add a description at the top of foreign_recheck,
> documenting the purpose of the test.
>
> +# "s0_lock" execute a FOR UPDATE query but it stops before locking the result
> s/execute/executes/, with an 's'.

Another thing that I've noticed has been forgotten: postgres_fdw's
.gitignore needs entries for output_iso/ and tmp_check_iso/. Based on
git-prompt, GIT_PS1_SHOWUNTRACKEDFILES reports these paths after a
test run.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2025-08-18 07:25:09 Re: BUG #18988: DROP SUBSCRIPTION locks not-yet-accessed database
Previous Message Michael Paquier 2025-08-18 06:58:45 Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c