We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent692ed05 commit17fa3e8Copy full SHA for 17fa3e8
doc/src/sgml/ref/create_function.sgml
@@ -401,7 +401,7 @@ CREATE [ OR REPLACE ] FUNCTION
401
is to be executed with the privileges of the user that calls it.
402
That is the default. <literal>SECURITY DEFINER</literal>
403
specifies that the function is to be executed with the
404
- privileges of the user thatcreated it.
+ privileges of the user thatowns it.
405
</para>
406
407
<para>
@@ -747,7 +747,7 @@ SELECT * FROM dup(42);
747
748
749
Because a <literal>SECURITY DEFINER</literal> function is executed
750
- with the privileges of the user thatcreated it, care is needed to
+ with the privileges of the user thatowns it, care is needed to
751
ensure that the function cannot be misused. For security,
752
<xref linkend="guc-search-path"> should be set to exclude any schemas
753
writable by untrusted users. This prevents