aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_function.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-12-13 23:00:42 -0500
committerPeter Eisentraut <peter_e@gmx.net>2012-12-13 23:00:42 -0500
commita301eb99c9537186f7dd46ba418e84d755227a94 (patch)
treec20ce4ecd417192f1e7594a45b93b778d8b4d963 /doc/src/sgml/ref/create_function.sgml
parentabfd192b1b5ba5216ac4b1f31dcd553106304b19 (diff)
downloadpostgresql-a301eb99c9537186f7dd46ba418e84d755227a94.tar.gz
postgresql-a301eb99c9537186f7dd46ba418e84d755227a94.zip
doc: Improve search_path mentions in index
Karl O. Pinc
Diffstat (limited to 'doc/src/sgml/ref/create_function.sgml')
-rw-r--r--doc/src/sgml/ref/create_function.sgml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index fee6f53ba24..4ac5bdaf65f 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -673,6 +673,11 @@ SELECT * FROM dup(42);
<refsect1 id="sql-createfunction-security">
<title>Writing <literal>SECURITY DEFINER</literal> Functions Safely</title>
+ <indexterm>
+ <primary><varname>search_path</varname> configuration parameter</>
+ <secondary>use in securing functions</>
+ </indexterm>
+
<para>
Because a <literal>SECURITY DEFINER</literal> function is executed
with the privileges of the user that created it, care is needed to