model-writtenrun 7765 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela reported a Coverity warning about comparisons against INT_MIN and INT_MAX when long is 32 bits on Windows, and submitted a patch widening push_path()'s lindex to int64 #1.
- Tom Lane considered the warning harmless but proposed simplifying the code with strtoint() instead of widening the variable #2.
- Ranier maintained that the Windows case was broken and argued that the type or expression still needed correction #3.
- Tom implemented the alternative in 69036aafb9, replacing four strtol() calls, standardizing conversion checks, and avoiding negation of INT_MIN; he then explained that the change improved simplicity and style rather than fixing the alleged Windows failure #4.
- Ranier thanked Tom after the commit, closing the thread with the strtoint() solution landed and the original int64 patch unused #5.