|
1 | 1 | <!--
|
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 $ |
3 | 3 | PostgreSQL documentation
|
4 | 4 | -->
|
5 | 5 |
|
@@ -120,8 +120,11 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello;
|
120 | 120 | </para>
|
121 | 121 |
|
122 | 122 | <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. |
125 | 128 | </para>
|
126 | 129 |
|
127 | 130 | </refsect1>
|
|