Commit 3900f836 authored by Bruce Momjian's avatar Bruce Momjian

Update docs on function call permissions in view, from Tom.

parent a994d598
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.25 2003/09/27 00:10:31 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.26 2003/09/28 01:19:33 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -120,8 +120,11 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello; ...@@ -120,8 +120,11 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello;
</para> </para>
<para> <para>
While access to tables in the view is controlled entirely by permissions Access to tables referenced in the view is determined by permissions of
on the view, functions called by the view are checked independently. the view owner. However, functions called in the view are treated the
same as if they had been called directly from the query using the view.
Therefore the user of a view must have permissions to call all functions
used by the view.
</para> </para>
</refsect1> </refsect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment