model-writtenrun 2165 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Oleg Tselebrovskiy reported that scalar-context psql calls without stderr capture could raise a fatal uninitialized-value warning instead of the intended error, and supplied a placeholder fix, regression test, and experimental SimpleTee alternative in #1.
- Andrew Dunstan moved the placeholder initialization before exception handling in #2 and advised against the SimpleTee approach because Utils.pm already redirects STDOUT and STDERR and SimpleTee was intended for that internal use.
- Oleg acknowledged that his original fix missed an error case and incorporated Andrew's implementation alongside an updated regression test in #3.
- Andrew rejected the additional test script and said backpatching was unnecessary given the issue's limited impact in the thread's final message, #4.
- c3e28e9fd9 subsequently landed the Cluster.pm portion of #3, crediting Oleg's report and original patch; the regression test and SimpleTee experiment were left out, and no backports are recorded.