model-writtenrun 4738 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that pg_dump's flagInhAttrs() modifies state consulted during later iterations, although OID ordering does not guarantee that parent tables precede their children #1.
- Tom judged the observed effects cosmetic—unnecessary DEFAULT or GENERATED expressions—but proposed fixing the dependency to prevent future extensions from introducing more serious bugs #1.
- The patch preserves inherited generation-expression structures and suppresses their output through the dump flag, which dumpTableSchema() now checks #1.
- The patch also excludes plain NULL defaults from inherited-default detection, keeping decisions consistent before and after flagInhAttrs() manufactures DEFAULT NULL clauses #1.
- The supplied thread ends with the proposal and contains no reviews; Tom subsequently committed the complete patch with only comment wording changes, explicitly declining back-patching because the effects appeared cosmetic #1 128dd9f9ec.