aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/set_role.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/set_role.sgml')
-rw-r--r--doc/src/sgml/ref/set_role.sgml9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/set_role.sgml b/doc/src/sgml/ref/set_role.sgml
index e4b57743a4d..9a3571f08da 100644
--- a/doc/src/sgml/ref/set_role.sgml
+++ b/doc/src/sgml/ref/set_role.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/set_role.sgml,v 1.2 2005/07/26 23:24:02 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/set_role.sgml,v 1.2.2.1 2008/01/03 21:24:26 tgl Exp $
PostgreSQL documentation
-->
@@ -31,7 +31,7 @@ RESET ROLE
<para>
This command sets the current user
- identifier of the current SQL-session context to be <replaceable
+ identifier of the current SQL session to be <replaceable
class="parameter">rolename</replaceable>. The role name may be
written as either an identifier or a string literal.
After <command>SET ROLE</>, permissions checking for SQL commands
@@ -89,6 +89,11 @@ RESET ROLE
roles with <command>SET ROLE</> does not change the set of roles
allowed to a later <command>SET ROLE</>.
</para>
+
+ <para>
+ <command>SET ROLE</> cannot be used within a
+ <literal>SECURITY DEFINER</> function.
+ </para>
</refsect1>
<refsect1>