model-writtenrun 3408 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yurii Rashkovskii proposed clarifying that a superuser who switches to a non-superuser role still retains the ability to change roles, attaching the initial documentation patch in #1.
- Nathan Bossart observed that existing session-user wording arguably covered this behavior but omitted the newer SET-option requirement in #2; he supplied wording for direct or indirect memberships in #4, which Yurii incorporated alongside his original clarification in #5.
- Nathan reconsidered the superuser-specific qualification in #6, arguing that it could confuse session-user and current-user privileges and unnecessarily repeat the description; he instead supplied an inline patch isolating the SET-option correction.
- Robert Haas proposed deleting the redundant superuser note and explicitly documenting SET ROLE and SET SESSION AUTHORIZATION as exceptions to ordinary privilege checking in #8, and Nathan agreed in #9.
- Nathan proposed landing the SET-option correction separately so it could be backpatched to PostgreSQL 16 in #10, Robert agreed in #11, and 3330a8d1b7 committed that portion of #5 with wording and markup cleanup, as announced in #12.
- After Andrey Borodin asked about completion in #13 and Michael Paquier identified the outstanding portion in #14, Nathan listed the two remaining documentation changes in #15; Robert suggested a separate CommitFest entry in #16, which Nathan created in #17.
- Nathan took over the remaining patch in #18, replacing the original superuser qualification with removal of the note and an explanation that SET ROLE checks the session user while SET SESSION AUTHORIZATION checks the authenticated user.
- Robert approved the revised patch and supported committing it after the freeze in #19; Nathan preferred no backpatch because it was a clarification in #20, and Michael approved HEAD in #21.
- 953cf49e16 landed #18 unchanged, crediting Yurii as co-author; Nathan's final announcement in #22 completed the remaining work, with no further patch pending in the thread.