File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ CREATE [ OR REPLACE ] FUNCTION
401
401
is to be executed with the privileges of the user that calls it.
402
402
That is the default. <literal>SECURITY DEFINER</literal>
403
403
specifies that the function is to be executed with the
404
- privileges of the user that created it.
404
+ privileges of the user that owns it.
405
405
</para>
406
406
407
407
<para>
@@ -747,7 +747,7 @@ SELECT * FROM dup(42);
747
747
748
748
<para>
749
749
Because a <literal>SECURITY DEFINER</literal> function is executed
750
- with the privileges of the user that created it, care is needed to
750
+ with the privileges of the user that owns it, care is needed to
751
751
ensure that the function cannot be misused. For security,
752
752
<xref linkend="guc-search-path"> should be set to exclude any schemas
753
753
writable by untrusted users. This prevents
You can’t perform that action at this time.
0 commit comments