We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af1d395 commit 3330a8dCopy full SHA for 3330a8d
doc/src/sgml/ref/set_role.sgml
@@ -41,8 +41,10 @@ RESET ROLE
41
</para>
42
43
<para>
44
- The specified <replaceable class="parameter">role_name</replaceable>
45
- must be a role that the current session user is a member of.
+ The current session user must have the <literal>SET</literal> option for the
+ specified <replaceable class="parameter">role_name</replaceable>, either
46
+ directly or indirectly via a chain of memberships with the
47
+ <literal>SET</literal> option.
48
(If the session user is a superuser, any role can be selected.)
49
50
0 commit comments