model-writtenrun 5880 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita reported that cancelling an asynchronous foreign-table query inside a subtransaction, rolling back to a savepoint, and rerunning the query could crash because connection state retained an invalid asynchronous request #1.
- Etsuro Fujita supplied a patch that extends connection-state cleanup to subtransaction aborts and performs the reset only when pendingAreq is present #1.
- Alexander Pyhalov reviewed the patch and said it looked good #2, and Etsuro Fujita acknowledged the review #3.
- Etsuro Fujita committed the patch unchanged apart from rebasing as 6c07f9ebce, crediting Alexander Pyhalov and recording a backpatch to PostgreSQL 14.
- Etsuro Fujita confirmed that the patch had been committed in the thread's final message, leaving no outstanding revisions #4.