model-writtenrun 8367 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed removing two narrowly used global status symbols in #1, replacing STATUS_FOUND with a boolean result and STATUS_WAITING with a dedicated ProcWaitStatus enum.
- Michael Paquier reviewed the boolean conversion in #2 and questioned the placement of the waitMask check; after Peter discussed keeping LockCheckConflicts read-only in #3, Michael clarified his suggestion and withdrew it because it would disrupt ProcSleep in #4.
- Peter committed the unchanged STATUS_FOUND portion of #1 as c096a804d9 and announced the partial landing in #5.
- Michael recommended dropping the enum patch over readability concerns in #6, and Kyotaro Horiguchi questioned the broader cleanup's value after examining status-code usage in #7; Robert Haas argued that dedicated enums clarify possible values and improve debugger output in #8.
- After several months, Peter revived the remaining STATUS_WAITING patch unchanged apart from rebasing in #9, explaining that it would confine the remaining generic status symbols to frontend and backend libpq code.
- Michael acknowledged the debugger benefit but proposed shorter ProcStatus and PROC_STATUS_* names in #10; Peter declined that suggestion in #11 because broader names could encourage unrelated uses.
- Peter committed #9 unchanged as a513f1dfbf and confirmed completion in #11, leaving both originally proposed removals landed.