]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Clarify requirements for SET ROLE.
authorNathan Bossart <nathan@postgresql.org>
Sun, 24 Mar 2024 20:24:09 +0000 (15:24 -0500)
committerNathan Bossart <nathan@postgresql.org>
Sun, 24 Mar 2024 20:24:09 +0000 (15:24 -0500)
commitd82dc79ba03c783fa41be768c1bf13cb8200a340
treea67a815aad7399037e6d7a00168f9869787035af
parent3676b846b129b975034927cdf5f57297211d6f15
doc: Clarify requirements for SET ROLE.

Since commit 3d14e171e9, SET ROLE has required the current session
user to have membership with the SET option in the target role, but
the SET ROLE documentation only mentions the membership
requirement.  This commit adds this important detail to the SET
ROLE page.

Reviewed-by: Robert Haas
Discussion: https://postgr.es/m/CA%2BRLCQysHtME0znk2KUMJN343ksboSRQSU-hCnOjesX6VK300Q%40mail.gmail.com
Backpatch-through: 16
doc/src/sgml/ref/set_role.sgml