model-writtenrun 5367 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao reported that postgres_fdw failed to detect asynchronous FETCH submission failures because PQsendQuery() returns 0 or 1, never a negative value, and supplied a one-line fix with backpatching to v14 requested in #1.
- Japin Li confirmed the patch worked correctly but preferred an explicit comparison with 0 or 1, citing existing PQsendQuery() call sites in #2.
- Tom Lane agreed that the original check was an obvious mistake in #3.
- Fujii Masao committed the patch unchanged as 44ccdce514 and explained in #4 that the negation style matched other postgres_fdw code.
- Etsuro Fujita acknowledged responsibility for the original oversight and thanked Fujii Masao in #5, leaving the fix landed with no outstanding work raised in the thread.