model-writtenrun 4645 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Justin Pryzby proposed documenting CREATE TABLE followed by ATTACH PARTITION as a way to avoid the stronger parent-table lock required by CREATE TABLE ... PARTITION OF, supplying an inline patch and requesting backpatching in #1.
- Andrew Dunstan corrected the grammar in #2, and Robert Treat recommended explicitly identifying PARTITION OF and discussed where the advice belonged in #3; Justin adopted the wording, added a locking comparison to the partitioning chapter, and removed an unhelpful cross-reference in #4.
- Justin also raised making CREATE TABLE ... PARTITION OF transparently use the weaker-lock approach in #4; Robert Treat explored this and proposed another documentation cross-reference in #5, while Robert Haas identified code-path differences, parent-table dependencies, and default-partition cases needing investigation in #6.
- After Robert Treat asked whether to pursue implementation changes or documentation in #7, Justin confirmed in #8 that the documentation should proceed independently for backpatching, while any implementation change would target a future release.
- Jakub Wartak tested Justin's inline patch, found that a missing closing SGML tag prevented the PDF build, and posted the corrected version as the thread's sole attached patchset in #9.
- Tom Lane committed that attachment with light documentation edits as f170b572d2, integrating the locking explanation with surrounding text and extending it to ATTACH/DETACH versus CREATE/DROP; the commit selected backpatching through PostgreSQL 14 because its wording includes concurrent detachment, and Tom announced the push in #10.
- Justin pointed out in #11 that weaker locking for DETACH requires CONCURRENTLY; Tom replied in #12 that this detail belongs on the command's reference page, leaving the documentation committed without another revision and the possible implementation change unresolved.