model-writtenrun 2710 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih reported slow EXPLAIN execution for queries joining many wide tables and proposed disabling column-name uniquification during EXPLAIN; his experimental patch improved timings but produced ambiguous names in a regression case #1.
- Tom Lane explained that names must remain unique within each range-table entry, where table qualification cannot resolve ambiguity, and proposed skipping name assignment specifically for join entries because the planner eliminates join alias variables #2 #3 #4 #5.
- Sami Imseih replaced the broad bypass with a patch skipping join entries during plan deparsing and reported EXPLAIN time falling from about 1.24 seconds to 0.53 seconds; he left relation-entry optimization out because his test showed no meaningful benefit #6.
- Tom Lane supplied a retained SubqueryScan example demonstrating why duplicate column names still require uniquification, then committed the revised patch with the redundant plan-deparsing flag removed and comments clarified #7 7a80e381d1.
- Tom Lane confirmed the change was pushed and reported that profiling also showed no worthwhile benefit from skipping relation-entry uniquification; Sami Imseih subsequently thanked him, leaving the join-entry optimization landed with no further patch pending #8 #9.