model-writtenrun 8954 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that EXPLAIN assigned parent column aliases to the wrong child columns when physical column positions differed, and supplied two alternatives: preserve existing table-name behavior with extra complexity, or consistently give children parent-derived aliases #1.
- Tom preferred the simpler second alternative despite extensive expected-output changes, suggested retaining the reverse-column map in AppendRelInfo for reuse, and considered backpatching unnecessary for this cosmetic issue without field complaints #1.
- Investigating a related postgres_fdw discrepancy, Tom first proposed consulting explicit aliases #2, then replaced that approach with rangetable-index strings resolved during EXPLAIN so foreign scans could use the same deduplicated aliases as the rest of the plan #3.
- Amit Langote supported parent-derived child aliases because they clarify the connection to tables named in the query #4, while Etsuro Fujita reviewed the revised postgres_fdw patch and identified a comment correction #5.
- Tom clarified that the proposed schema-display adjustment would retain the Relations output and only omit schema qualification without VERBOSE #6; he committed the alias-resolution patch from #3 with comment edits and a fallback alias case as 4526951d56.
- Tom then posted a separate delta making postgres_fdw schema qualification follow regular EXPLAIN, while raising the broader question of always including schemas in non-text formats #7.
- The original inheritance patch #1 landed in two pieces: ce76c0ba53 extracted and expanded the reverse-map infrastructure, and 55a1954da1 applied variant B's alias reconstruction and tests using that infrastructure.
- Etsuro supported consistent schema display but reported that the follow-up patch no longer applied cleanly and treated non-text schema policy as a separate issue #8; Tom attributed the conflict to the inheritance commit, promised to update the expected output, and agreed to defer the broader policy question #9.
- The final message left the schema-display delta awaiting that cleanup, and it subsequently landed unchanged apart from rebased expected output as bf39b3af6a; all attached fixes had then landed, with non-text schema policy deferred.