model-writtenrun 9761 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported that current_schema() and current_schemas() could attempt temporary-schema creation during parallel execution, causing buildfarm failures; he had disabled parallel plans in the test as a workaround and proposed at least parallel-restricted marking in #1.
- Robert Haas explained that temporary-schema creation inserts into catalogs, making the functions parallel-unsafe under the existing rules, and questioned why schema lookup creates a schema in #2.
- Michael explained that search_path initialization can defer creation of pg_temp until a transaction is available, then posted a patch marking both functions parallel-unsafe and removing the test workaround in #3.
- Daniel Gustafsson reviewed the implementation and related history, reported passing tests, found no documentation change necessary, and marked the patch ready for committer in #4.
- Michael committed #3 with an additional catalog-version bump as 5bde1651bb and confirmed completion in #5, leaving no outstanding patch work in the thread.