model-writtenrun 9595 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Haas opened the thread with a commit announcement allowing ATTACH PARTITION to use ShareUpdateExclusiveLock on the parent while retaining AccessExclusiveLock on the partition to prevent concurrent constraint violations #1.
- The announced implementation handled catalog races, introduced PartitionDirectory to keep partition descriptions consistent within planning and execution, and adjusted pruning maps for newly added partitions; tighter invalidation handling and shared descriptions across parallel workers remained possible future work #1.
- David Rowley supplied a two-line correction after noticing that the new relid_map allocation and copying used sizeof(int) despite storing Oid values #2.
- Robert Haas committed David Rowley’s patch unchanged as 5857be907d, noting that int and Oid have the same size but represent different types.
- Robert Haas confirmed the commit in the final reply, leaving the attached sizeof() fix fully landed with no outstanding revision requested #3.