Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3900f83

Browse files
committed
Update docs on function call permissions in view, from Tom.
1 parent a994d59 commit 3900f83

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/src/sgml/ref/create_view.sgml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.25 2003/09/27 00:10:31 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.26 2003/09/28 01:19:33 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -120,8 +120,11 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello;
120120
</para>
121121

122122
<para>
123-
While access to tables in the view is controlled entirely by permissions
124-
on the view, functions called by the view are checked independently.
123+
Access to tables referenced in the view is determined by permissions of
124+
the view owner. However, functions called in the view are treated the
125+
same as if they had been called directly from the query using the view.
126+
Therefore the user of a view must have permissions to call all functions
127+
used by the view.
125128
</para>
126129

127130
</refsect1>

0 commit comments

Comments
 (0)