model-writtenrun 8179 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jan Mussler reported that DROP INDEX CONCURRENTLY on a partitioned table misleadingly complained about transaction ordering even when no transaction was active #1.
- Michael Paquier explained that dependency processing assigns a transaction ID and that safely supporting concurrent partitioned-index deletion would require substantial additional work; he recommended an explicit unsupported-operation error, which Alvaro Herrera agreed to implement #2 #3.
- Alvaro's first patch placed the check in RemoveRelations(), before dependency-driven deletion, because checking inside index_drop() could encounter an index partition before its parent #4.
- Michael tested the patch and raised temporary partition trees as a concern; Alvaro's revision checked the effective deletion flag so temporary indexes could retain their working non-concurrent fallback, and he supplied accompanying documentation #7 #9 #10.
- Michael accepted that behavior and combined Alvaro's implementation and documentation with a regression test covering temporary partitioned indexes #11.
- Alvaro committed the combined patch as afc7e0ad55, with only blank-line adjustments, and backpatched through PostgreSQL 11; his push announcement and Michael's closing thanks left the error-message fix complete, while full concurrent deletion support remained outside its scope #12 #13.