model-writtenrun 8079 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Cameron Daniel reported that PostgreSQL 13 pg_dump crashed when excluding PostGIS's spatial_ref_sys table; Tom Lane reproduced the failure without PostGIS and traced it to clearing interesting while schema processing still required unloaded CHECK-constraint data #1 #2.
- Stephen Frost initially discussed unsupported user modifications to extension tables, but Tom clarified that extension-defined CHECK constraints also triggered the crash and that preventing the crash was the intended scope #5 #6.
- Tom submitted three patches to postpone setting ncheck until constraint data was loaded, add regression coverage, and prevent processExtensionTables from clearing interesting; he also established that inheritance requires retaining the separate interesting flag for undumped parent tables #7.
- Further history investigation traced the regression to the earlier extension-table fix discussed in thread #42596 and revealed a longstanding COPY bug that omitted column lists; Tom proposed testing COPY output and asserting that subsidiary table information had been loaded #8 #9.
- Stephen reviewed the interesting-flag patch, agreed that extension configuration tables needed their subsidiary data loaded, and supported backpatching the correction #10.
- Tom committed the tests and flag correction from #7 as 9e5f1f21ad, moving flag-setting into makeTableDataInfo, adding assertions, and checking COPY column lists, with backports to all supported branches.
- The thread ended with Tom confirming the push and explaining that he dropped the ncheck refactoring because it could silently conceal missing constraint data; the bug fix had landed with no remaining patch work proposed #11.