model-writtenrun 2652 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andy Fan reported intermittent setshell failures during timed pgbench runs in #1 and proposed suppressing shell-command failures after timer expiration in #2.
- Fujii Masao traced the regression to a link-order change in #3 and explained in #5 that pgbench was calling libpq's legacy pqsignal, which omits SA_RESTART for SIGALRM and allows fgets to be interrupted.
- Tom Lane initially considered changing the legacy signal behavior in #6, then chose macro-based symbol renaming to eliminate the link-order dependency while preserving libpq's exported ABI in #9.
- Tom supplied development and stable-branch patches in #10: development would distinguish frontend and backend symbols, while stable branches would preserve the backend symbol for extension compatibility.
- Nathan Bossart questioned third-party frontend compatibility and supplied a separate cleanup on top of Tom's patch in #11, making pqsignal return void and assert on registration failures; that cleanup is absent from the supplied commit.
- Tom proposed an ABI compatibility wrapper for old headers with newer libraries in #12; Nathan initially agreed it was unnecessary in #13, but Tom reconsidered the risk of silently selecting libpq's implementation in #14, and Nathan accepted the wrapper in #15.
- Tom ultimately abandoned the wrapper because older branches could pull competing pqsignal exports into libpq, explaining in #17 that avoiding this required more complexity than the hypothetical compatibility problem justified.
- The symbol-collision fix landed as cfd7aadebe from #10 with light comment edits and branch adaptation; Tom's closing announcement in #17 confirms the original approach was pushed, superseding Andy's workaround and leaving Nathan's optional cleanup unlanded in the supplied record.