Information schema documentation
authorPeter Eisentraut
Sat, 5 Dec 2009 21:31:05 +0000 (21:31 +0000)
committerPeter Eisentraut
Sat, 5 Dec 2009 21:31:05 +0000 (21:31 +0000)
Add a sentence of documentation about the differences between the
*_privileges and the role_*_grants views.

doc/src/sgml/information_schema.sgml

index 0a48218122382a81925a7f41f58434cd7b865c78..7ad2cc8c5c0a3d52be27643b09eb5e925c0a9626 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  The Information Schema
@@ -2843,7 +2843,11 @@ ORDER BY c.ordinal_position;
    The view role_column_grants identifies all
    privileges granted on columns where the grantor or grantee is a
    currently enabled role.  Further information can be found under
-   column_privileges.
+   column_privileges.  The only effective
+   difference between this view
+   and column_privileges is that this view omits
+   columns that have been made accessible to the current user by way
+   of a grant to public.
   
 
   
@@ -2922,7 +2926,11 @@ ORDER BY c.ordinal_position;
    The view role_routine_grants identifies all
    privileges granted on functions where the grantor or grantee is a
    currently enabled role.  Further information can be found under
-   routine_privileges.
+   routine_privileges.  The only effective
+   difference between this view
+   and routine_privileges is that this view omits
+   functions that have been made accessible to the current user by way
+   of a grant to public.
   
 
   
@@ -3012,7 +3020,11 @@ ORDER BY c.ordinal_position;
    The view role_table_grants identifies all
    privileges granted on tables or views where the grantor or grantee
    is a currently enabled role.  Further information can be found
-   under table_privileges.
+   under table_privileges.  The only effective
+   difference between this view
+   and table_privileges is that this view omits
+   tables that have been made accessible to the current user by way of
+   a grant to public.
   
 
   
@@ -3093,7 +3105,10 @@ ORDER BY c.ordinal_position;
    USAGE privileges granted on various kinds of
    objects where the grantor or grantee is a currently enabled role.
    Further information can be found under
-   usage_privileges.
+   usage_privileges.  The only effective difference
+   between this view and usage_privileges is that
+   this view omits objects that have been made accessible to the
+   current user by way of a grant to public.