model-writtenrun 4649 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Regina Obe proposed schema substitution for required extensions to let PostGIS and related extensions safely qualify cross-extension references in #1; Tom Lane favored the unambiguous @extschema:extensionname@ syntax in #2 and #4.
- Regina rejected general runtime schema-resolution syntax as too invasive and difficult to support across PostgreSQL versions in #5, then submitted substitution code, documentation, and tests in #6, explicitly leaving relocation safety unresolved.
- Sandro Santilli warned that moving referenced extensions could break dependent functions and proposed refusing substitution for relocatable extensions in #7 and #9; Regina rejected requiring users to alter provider control files, particularly in hosted environments, in #8 and #10.
- After Sandro proposed checking dependencies during SET SCHEMA in #11, Regina added automatic dependency records and relocation checks in #13, but Sandro demonstrated that dropping a prerequisite silently dropped its dependent extension in #14.
- Regina abandoned DEPENDENCY_AUTO and selected a blanket relocation prohibition for extensions required by other extensions in #15 and #16; Sandro tested the cleaned-up implementation subsequently attached in #19 and confirmed feature behavior and documentation in #20.
- A Meson conflict prompted the rebase in #23, after which Tom rejected the blanket relocation prohibition as unnecessarily restrictive and requested reuse of existing prerequisite information in #24.
- Tom proposed an explicit no_relocate control-file list in #27 and explained that SET SCHEMA should inspect dependent extensions' control files in #29, leaving extension authors to distinguish references that survive relocation from embedded schema names.
- Regina implemented that design in #31; Sandro reported successful builds and tests in #32, while Regina clarified in #33 that substitution without no_relocate was intentional and irrelevant no_relocate entries would be ignored.
- Regina removed documentation whitespace in #34, and Sandro confirmed clean application, compilation, regression tests, and manual relocation tests in #35.
- Tom committed 72a5b1fc88 from #34, simplifying prerequisite-schema lookup and revising documentation and regression tests; his announcement in #36 explained that the unfinished no_relocate output-column code was omitted because it was disconnected from the SQL function's result definition.
- Regina accepted that omission in #37, and the thread ended with both functional features committed; Tom's suggestion in #38 to store no_relocate OIDs in pg_extension remained an optional future improvement.