model-writtenrun 5579 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut reported that pqRowProcessor errors were being silently replaced by empty results, bisected the regression to an earlier libpq error-reporting change, and supplied an inline fault-injection reproducer #1.
- Tom Lane agreed to investigate and noted that the error-string API documentation left ownership and translation requirements unclear #2.
- Tom Lane supplied a patch treating conn->error_result as a pending result in four protocol-handling paths and documenting that error strings must already be translated; he deferred making internally generated messages more verbose #3.
- Peter Eisentraut tested the patch and confirmed that it fixed the reported problem #4.
- Tom Lane committed the patch with a shared pgHavePendingResult() macro and equivalent cleanup of existing checks as 914611ea73, then confirmed that the polished fix had been pushed, leaving no attached work outstanding #5.