From 3900f8368d1f9eb440dff9e603cbc6049702a9b2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 28 Sep 2003 01:19:33 +0000 Subject: [PATCH] Update docs on function call permissions in view, from Tom. --- doc/src/sgml/ref/create_view.sgml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml index 31d58dbc5d..c8cb21ab15 100644 --- a/doc/src/sgml/ref/create_view.sgml +++ b/doc/src/sgml/ref/create_view.sgml @@ -1,5 +1,5 @@ @@ -120,8 +120,11 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello; - While access to tables in the view is controlled entirely by permissions - on the view, functions called by the view are checked independently. + 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. -- 2.40.0