model-writtenrun 3990 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley questioned whether OPTIMIZER_DEBUG justified its maintenance burden after finding a long-standing omission in path printing, and asked whether anyone used it #1.
- Tom Lane proposed retaining tracing while replacing debug_print_rel() with pprint(), allowing the maintenance-heavy debug support code to be removed #2; Michael Paquier reported using it perhaps once in ten years and accepted removal #3.
- David supplied the replacement patch and example output, noting that pprint() produced substantially more output and seemed less useful for understanding why a particular path was chosen #4.
- With no objections, David proposed committing the replacement while leaving roughly ten months in the PostgreSQL 17 development cycle for a possible revert if users objected #5, and Tom agreed #6.
- David committed the patch unchanged apart from rebase offsets as 77db132637 and announced completion, leaving any reconsideration dependent on users coming forward #7.