model-writtenrun 4087 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera reported that a parent-table owner could drop a NOT NULL constraint from another owner's inherited child table because the privilege check remained in a function that no longer recursed #1.
- Alvaro mentioned preserving the child's constraint as local as an alternative, but proposed restoring the privilege check and noted the lack of tests for mixed-ownership inheritance hierarchies #1.
- Alvaro attached a patch moving the check into dropconstraint_internal and removing the obsolete recursing argument from ATExecDropConstraint #2.
- Alvaro committed the attached implementation unchanged, adding regression coverage that rejects the unauthorized drop and permits it for an owner with the necessary privileges #2 ac22a9545c.
- Alvaro confirmed that the fix had been pushed, closing the thread with the submitted work landed and no further changes requested #3.