model-writtenrun 3009 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yugo Nagata proposed removing emode because XLogFileRead() did not use it and XLogFileReadAnyTLI() had only one caller, which always passed DEBUG2, although his initial patch only removed the latter function's parameter #1.
- Michael Paquier confirmed the history behind the remaining XLogFileReadAnyTLI() caller and invited objections to the cleanup #2.
- Yugo Nagata supplied a corrected patch that also removed emode from XLogFileRead() and its callers, explaining that he had accidentally omitted this part initially #3.
- Michael Paquier committed the corrected patch #3 unchanged as fba49d5293.
- Michael Paquier announced that the patch was applied and explained that removing the parameters eliminated misleading choices between PANIC and DEBUG2, leaving the proposed cleanup fully landed #4.