model-writtenrun 9745 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera opened the thread with a commit announcement crediting Amit Langote for repairing constraints that became undroppable after detaching partitions #1.
- Tom Lane reported that the repair crashed under RELCACHE_FORCE_RELEASE, supplying a buildfarm backtrace pointing to access through a released index relation #2.
- Amit Langote identified the premature index_close() and attached a fix that saved the constraint-detachment decision before closing the relation #3.
- Alvaro Herrera reworked that fix into 19184fcc09, removing the index-flag filter and missing-constraint error, detaching the constraint only when found, and postponing index_close() until afterward.
- Alvaro Herrera confirmed that he had chosen simpler coding in the final reply #4; the corrective change had landed, with no further work raised in the thread.