Re: BUG #19484: Segmentation fault triggered by FDW - Mailing list pgsql-bugs

From Richard Guo
Subject Re: BUG #19484: Segmentation fault triggered by FDW
Date
Msg-id CAMbWs4-hBR6H3AEv1LkcnRt04Q4zgVVUeOqmA6-W=DSP65s3Xw@mail.gmail.com
Whole thread
Responses Re: BUG #19484: Segmentation fault triggered by FDW
List pgsql-bugs
On Wed, Jun 24, 2026 at 10:43 AM Amit Langote <amitlangote09@gmail.com> wrote:
> If we’d rather avoid it, I have a no-field alternative for REL_18: show_modifytable_info() is the only reader of the
re-indexedlist, and it can recompute the mapping from node->resultRelations and node->fdwPrivLists, both plan-ordered
anduntouched by pruning. 

This sounds like a nice solution.  Since show_modifytable_info() is
only used for EXPLAIN, I guess the recompute overhead on the
re-indexed list should be fine.

- Richard



pgsql-bugs by date:

Previous
From: Amit Langote
Date:
Subject: Re: BUG #19484: Segmentation fault triggered by FDW
Next
From: Amit Langote
Date:
Subject: Re: BUG #19484: Segmentation fault triggered by FDW