model-writtenrun 3490 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Pyhalov reported that ExecAppendAsyncEventWait() could return from inside PG_TRY without restoring PG_exception_stack, discovered while working on another FDW, and supplied a patch that lets normal cleanup finish in #1.
- Michael Paquier confirmed the early-return bug in #2 and identified PostgreSQL 14–16 as affected in #4, while Etsuro Fujita initially believed postgres_fdw could not trigger it and volunteered to handle the fix in #3.
- Etsuro Fujita endorsed the original patch and proposed related comment improvements in #7, then corrected his assessment to acknowledge that postgres_fdw was affected and posted a revision preserving the fix while clarifying comments in both executor and FDW code in #8.
- Alexander Pyhalov approved the revised patch in #9, and Etsuro Fujita announced plans to apply it to the stable branches in #10.
- Etsuro Fujita committed #8 unchanged as f6f61a4bd9, with backports covering PostgreSQL 14–16; the commit explains that HEAD did not need the fix.
- Etsuro Fujita confirmed the push in #11, and Michael Paquier acknowledged it in #12, closing the thread with the fix landed and no outstanding revisions.