mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 05:21:27 +03:00
Update docs on function call permissions in view, from Tom.
This commit is contained in:
parent
a994d5984f
commit
3900f8368d
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$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;
|
|||||||
</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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user