model-writtenrun 4879 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis reported that UPDATE privilege allowed stronger LOCK TABLE modes while unexpectedly denying ACCESS SHARE, and attached a fix in #1.
- The proposal in #1 made permission for a lock mode also permit less-conflicting modes: MAINTAIN, UPDATE, DELETE, and TRUNCATE allow every mode, INSERT allows ROW EXCLUSIVE and below, and SELECT allows ACCESS SHARE.
- Nathan Bossart agreed that the old behavior lacked an apparent justification and endorsed the patch as reasonable in #2.
- At the thread's last message, Nathan Bossart had registered the still-pending patch in the commitfest so it would not be lost #3.
- Jeff Davis subsequently committed the complete patch from #1 on January 13, 2023, with only rebase differences and credited Nathan Bossart's review in c44f6334ca.