From: Bruce Momjian Date: Sun, 28 Sep 2003 01:19:33 +0000 (+0000) Subject: Update docs on function call permissions in view, from Tom. X-Git-Tag: REL7_4_BETA4~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3900f8368d1f9eb440dff9e603cbc6049702a9b2;p=postgresql Update docs on function call permissions in view, from Tom. --- 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.