model-writtenrun 5962 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed accepting CURRENT_ROLE wherever the shared RoleSpec grammar accepts CURRENT_USER, initially describing the SQL-conformance gap in GRANTED BY in #1; Vik Fearing approved the small patch in #2.
- Peter explained in #3 that a separate, unfinished second part would add GRANTED BY to ordinary GRANT statements.
- Alvaro Herrera pointed out that the shared grammar change affected many commands in #4, prompting the broader documentation update in #5.
- Peter added comprehensive rolenames tests and distinct CURRENT_ROLE representation in #6; after Asif Rehman reported successful testing and suggested mapping it directly to CURRENT_USER in #7, Peter defended preserving the user's spelling in #8.
- Alvaro approved the updated patch but identified missing role cleanup in #9; Peter incorporated that cleanup into 45b9805706 and announced the landing in #10.
- Tom Lane reported unstable rolenames output on the buildfarm in #11 and committed e5209bf37a, extending test query ordering keys to address the instability without posting another patchset.
- Peter returned with the separate ordinary GRANT and REVOKE extension in #12, accepting GRANTED BY only when the specified grantor resolves to the current user and marking SQL feature T332 supported.
- Simon Riggs approved that extension and requested tests in #13; Peter added those tests, committed 6aaaa76bb4, and confirmed completion in #14.
- While examining related test work, Daniel Gustafsson found that REVOKE ROLE discarded the parsed grantor and posted a fix in #15, immediately replacing it with #16 to include current-user validation and an additional error test.
- Peter confirmed the omission in #17, and Daniel landed the corrected patch with only comment polish as b2a459edfe; his final report in #19 confirmed the development-branch commit and PostgreSQL 14 backpatch, leaving no submitted work outstanding.