model-writtenrun 3481 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that proposed transaction batching for pg_upgrade exposed a binary-upgrade restore failure: creating a domain after adding enum values in the same transaction triggered the unsafe-use restriction #1.
- Tom Lane proposed tracking enum types created in the current transaction and permitting subsequently added values to be used, restricting the exception to outermost transactions because pg_dump did not require subtransaction support #1.
- Andrew Dunstan endorsed the approach and praised the patch's clear comments #2.
- Tom Lane committed #1 as af1d395843, preserving its implementation and regression tests while expanding one comment about subtransactions.
- Tom Lane closed the thread by confirming the push after further comment work; the enum fix was landed, while the motivating restore-batching proposal was separate work #3.