model-writtenrun 6286 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Matthias van de Meent proposed documenting recursive ACCESS EXCLUSIVE locking during ATTACH PARTITION, including a CHECK-constraint example intended to avoid scanning the DEFAULT partition #1.
- Justin Pryzby asked for a clear distinction between locking and avoidable scans #2; Matthias clarified the descendant-locking behavior and expanded the patch to the ALTER TABLE reference documentation #3.
- David Rowley tested the CHECK example and found that its IS FALSE expression did not avoid validation, then removed the example and revised the prose because the surrounding documentation did not demonstrate creating a DEFAULT partition either #4.
- Matthias accepted the revised direction but identified a missing distinction: suitable constraints at intermediate partitions can stop recursive locking #6#8, following David's question about whether the existing wording already covered that behavior #7.
- David made the recursive stopping conditions explicit and proposed backpatching through PostgreSQL 12, since older releases took ACCESS EXCLUSIVE on the parent table already #9; Matthias endorsed the improved wording #10.
- David committed the final patch with minor wording adjustments as 8709228775, credited both authors, and backpatched through PostgreSQL 12; his closing message confirmed the work had landed with no outstanding changes #11.