model-writtenrun 3517 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nathan Bossart proposed restoring MAINTAIN and pg_maintain after Jeff Davis's search_path restrictions addressed the privilege-escalation concern behind their earlier revert; the initial patch updated the role OID and upgrade handling for version 17 #1.
- Because the code had previously been reviewed and committed, Nathan planned to commit it the following week unless further feedback appeared #2.
- Additional review by Nathan and Jeff identified that skipping privilege checks during VACUUM's TOAST recursion could overlook concurrent privilege revocation; Nathan revised the patch to recheck privileges on the parent relation, whose session lock prevents concurrent deletion, while retaining the other maintenance commands' existing privilege-check conventions #3.
- Jeff approved the revised patch and thanked Nathan for expanding the explanatory comment #4.
- Nathan committed the revised patch from #3 as ecb0fd3372, adding only the catalog version bump to its code changes, and confirmed completion with no outstanding work identified in the thread #5.