model-writtenrun 121 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- shihao zhong reported that CREATE SCHEMA could attach an index or trigger to a same-named temporary table because unqualified names were no longer filled in with the new schema name, and also described foreign-key and view failures in #1.
- The patch in #1 restored explicit schema-name qualification while copying the schema elements first so the original parse tree would not be modified.
- Tom Lane retained that functional fix in df34fdf3f5, with comment cleanup, a helper rename to setSchemaNameRV, and relocation of the copy operation; the change was also backpatched to PostgreSQL 19.
- Tom Lane confirmed that the functional correction was sound and announced the push, explaining his comment and naming changes in #2.
- shihao zhong thanked Tom Lane for the fix and cleanup in #3, closing the thread with its sole patch landed and no outstanding work stated.