Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit636bac6

Browse files
committed
Information schema documentation
Add a sentence of documentation about the differences between the*_privileges and the role_*_grants views.
1 parentab3148b commit636bac6

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

‎doc/src/sgml/information_schema.sgml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.41 2009/07/13 20:25:57 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.42 2009/12/05 21:31:05 petere Exp $ -->
22

33
<chapter id="information-schema">
44
<title>The Information Schema</title>
@@ -2843,7 +2843,11 @@ ORDER BY c.ordinal_position;
28432843
The view <literal>role_column_grants</literal> identifies all
28442844
privileges granted on columns where the grantor or grantee is a
28452845
currently enabled role. Further information can be found under
2846-
<literal>column_privileges</literal>.
2846+
<literal>column_privileges</literal>. The only effective
2847+
difference between this view
2848+
and <literal>column_privileges</literal> is that this view omits
2849+
columns that have been made accessible to the current user by way
2850+
of a grant to public.
28472851
</para>
28482852

28492853
<table>
@@ -2922,7 +2926,11 @@ ORDER BY c.ordinal_position;
29222926
The view <literal>role_routine_grants</literal> identifies all
29232927
privileges granted on functions where the grantor or grantee is a
29242928
currently enabled role. Further information can be found under
2925-
<literal>routine_privileges</literal>.
2929+
<literal>routine_privileges</literal>. The only effective
2930+
difference between this view
2931+
and <literal>routine_privileges</literal> is that this view omits
2932+
functions that have been made accessible to the current user by way
2933+
of a grant to public.
29262934
</para>
29272935

29282936
<table>
@@ -3012,7 +3020,11 @@ ORDER BY c.ordinal_position;
30123020
The view <literal>role_table_grants</literal> identifies all
30133021
privileges granted on tables or views where the grantor or grantee
30143022
is a currently enabled role. Further information can be found
3015-
under <literal>table_privileges</literal>.
3023+
under <literal>table_privileges</literal>. The only effective
3024+
difference between this view
3025+
and <literal>table_privileges</literal> is that this view omits
3026+
tables that have been made accessible to the current user by way of
3027+
a grant to public.
30163028
</para>
30173029

30183030
<table>
@@ -3093,7 +3105,10 @@ ORDER BY c.ordinal_position;
30933105
<literal>USAGE</literal> privileges granted on various kinds of
30943106
objects where the grantor or grantee is a currently enabled role.
30953107
Further information can be found under
3096-
<literal>usage_privileges</literal>.
3108+
<literal>usage_privileges</literal>. The only effective difference
3109+
between this view and <literal>usage_privileges</literal> is that
3110+
this view omits objects that have been made accessible to the
3111+
current user by way of a grant to public.
30973112
</para>
30983113

30993114
<table>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp