model-writtenrun 142 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chao Li reported that numeric log(base, Infinity) incorrectly returned positive infinity for bases between zero and one and for base one, proposing negative infinity and a division-by-zero error respectively, with regression tests #1.
- Matthias van de Meent requested a descriptive base-one error instead of exposing division by zero #2, and Tom Lane agreed that the same error should also cover finite arguments #3.
- Chao Li revised the patch to reject base one in log_var(), let numeric_log() defer that case to it, and update the finite-input regression expectation while retaining the negative-infinity fix #4.
- Matthias van de Meent approved the revised patch #5.
- Tom Lane committed the revision from #4 as 94e1385ed2 with comment edits and unrelated formatting changes omitted, explaining that the longstanding behavior did not justify changing stable branches #6.
- Chao Li acknowledged the commit and accepted the decision against backpatching, leaving the fix landed on master with no outstanding work in the thread #7.