]> begriffs open source - ai-pg/blob - full-docs/txt/infoschema-column-privileges.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / infoschema-column-privileges.txt
1
2 35.15. column_privileges #
3
4    The view column_privileges identifies all privileges granted on columns
5    to a currently enabled role or by a currently enabled role. There is
6    one row for each combination of column, grantor, and grantee.
7
8    If a privilege has been granted on an entire table, it will show up in
9    this view as a grant for each column, but only for the privilege types
10    where column granularity is possible: SELECT, INSERT, UPDATE,
11    REFERENCES.
12
13    Table 35.13. column_privileges Columns
14
15    Column Type
16
17    Description
18
19    grantor sql_identifier
20
21    Name of the role that granted the privilege
22
23    grantee sql_identifier
24
25    Name of the role that the privilege was granted to
26
27    table_catalog sql_identifier
28
29    Name of the database that contains the table that contains the column
30    (always the current database)
31
32    table_schema sql_identifier
33
34    Name of the schema that contains the table that contains the column
35
36    table_name sql_identifier
37
38    Name of the table that contains the column
39
40    column_name sql_identifier
41
42    Name of the column
43
44    privilege_type character_data
45
46    Type of the privilege: SELECT, INSERT, UPDATE, or REFERENCES
47
48    is_grantable yes_or_no
49
50    YES if the privilege is grantable, NO if not