diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:16:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:16:19 +0000 |
commit | 31176cd686f31dcb71392f6583f7b8d9cef63770 (patch) | |
tree | 27fefbaada5177e179c6cf8806be49dfe613d5f4 /doc/src/sgml/ref/set_role.sgml | |
parent | Adding upstream version 16.2. (diff) | |
download | postgresql-16-upstream.tar.xz postgresql-16-upstream.zip |
Adding upstream version 16.3.upstream/16.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/src/sgml/ref/set_role.sgml')
-rw-r--r-- | doc/src/sgml/ref/set_role.sgml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/set_role.sgml b/doc/src/sgml/ref/set_role.sgml index 13bad1b..083e6dc 100644 --- a/doc/src/sgml/ref/set_role.sgml +++ b/doc/src/sgml/ref/set_role.sgml @@ -41,8 +41,10 @@ RESET ROLE </para> <para> - The specified <replaceable class="parameter">role_name</replaceable> - 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 + directly or indirectly via a chain of memberships with the + <literal>SET</literal> option. (If the session user is a superuser, any role can be selected.) </para> |