From 636bac6e4617caa60dbbd5a2e3f4cf7afa88281a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 5 Dec 2009 21:31:05 +0000 Subject: [PATCH] Information schema documentation Add a sentence of documentation about the differences between the *_privileges and the role_*_grants views. --- doc/src/sgml/information_schema.sgml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 0a48218122..7ad2cc8c5c 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -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.
-- GitLab