summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_view.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/create_view.sgml')
-rw-r--r--doc/src/sgml/ref/create_view.sgml10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml
index d80daa9807b..2bd1abbcde4 100644
--- a/doc/src/sgml/ref/create_view.sgml
+++ b/doc/src/sgml/ref/create_view.sgml
@@ -143,10 +143,12 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello;
<para>
Access to tables referenced in the view is determined by permissions of
- 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.
+ the view owner. In some cases, this can be used to provide secure but
+ restricted access to the underlying tables. However, not all views are
+ secure against tampering; see <xref linkend="rules-privileges"> for
+ details. 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>