diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-09-28 01:19:33 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-09-28 01:19:33 +0000 |
commit | 3900f8368d1f9eb440dff9e603cbc6049702a9b2 (patch) | |
tree | 118e7818c822b3617133d25fcfc18ed1c29b45b4 | |
parent | a994d5984f5644645c95c149f55a6f2f73cfcd10 (diff) | |
download | postgresql-3900f8368d1f9eb440dff9e603cbc6049702a9b2.tar.gz postgresql-3900f8368d1f9eb440dff9e603cbc6049702a9b2.zip |
Update docs on function call permissions in view, from Tom.
-rw-r--r-- | doc/src/sgml/ref/create_view.sgml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml index 31d58dbc5dd..c8cb21ab154 100644 --- a/doc/src/sgml/ref/create_view.sgml +++ b/doc/src/sgml/ref/create_view.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.25 2003/09/27 00:10:31 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.26 2003/09/28 01:19:33 momjian Exp $ PostgreSQL documentation --> @@ -120,8 +120,11 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello; </para> <para> - 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. </para> </refsect1> |