1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

doc: Improve search_path mentions in index

Karl O. Pinc
This commit is contained in:
Peter Eisentraut
2012-12-13 23:00:42 -05:00
parent abfd192b1b
commit a301eb99c9
3 changed files with 11 additions and 1 deletions

View File

@ -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