model-writtenrun 8311 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- wenjing reported that tables created in single-user mode lack array types in #1; Tom Lane traced this to IsUnderPostmaster and initially considered it acceptable because single-user mode is intended for disaster recovery in #2.
- wenjing demonstrated that the missing array type also breaks pg_upgrade in #3, prompting Alvaro Herrera to suggest dropping affected tables or detecting the condition during upgrade checks in #4; wenjing subsequently submitted a proposed check in #5.
- Shawn Wang argued for creating array types in single-user mode in #6, while Alvaro Herrera proposed allowing missing array OIDs during upgrade in #7; Tom Lane rejected weakening the upgrade cross-check and instead proposed replacing the processing-mode condition in #8.
- wenjing submitted the condition change with successful regression and upgrade checks in #10, and Shawn Wang independently reported successful installation and feature testing in #11.
- A parallel documentation discussion remained unresolved: Amit Kapila pointed to existing guidance limiting single-user mode to debugging or recovery in #12, while Shawn Wang wanted explicit restrictions on unsupported activities in #13.
- Tom Lane expanded the patch in #14 after measuring catalog growth, deciding that the remaining space savings did not justify excluding system catalogs; his revision removed the processing-mode restriction and supplied array types for the four bootstrap catalogs.
- The expanded patch from #14 landed as f7f70d5e22, with only a catalog-version bump added to the posted changes.
- After announcing that landing, Tom Lane proposed removing composite types for sequences and TOAST tables in #15 to eliminate another inconsistency and recover some catalog space, acknowledging that selecting a sequence as a whole-row value would consequently fail.
- That follow-up landed as f3faf35f37 from #15, with additional tuple-descriptor fallbacks and sequence upgrade handling; its commit message explicitly declined backpatching the associated pre-existing error-handling defects.
- Both code changes had landed by wenjing's closing acknowledgment in #16, which raised no further questions; the thread contains no documentation patch implementing the earlier request for clearer restrictions.