Add a sentence of documentation about the differences between the
*_privileges and the role_*_grants views.
-
+
The Information Schema
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.
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.
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.
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.