36.20. data_type_privileges
#
The view data_type_privileges
identifies all data type descriptors that the current user has access to, by way of being the owner of the described object or having some privilege for it. A data type descriptor is generated whenever a data type is used in the definition of a table column, a domain, or a function (as parameter or return type) and stores some information about how the data type is used in that instance (for example, the declared maximum length, if applicable). Each data type descriptor is assigned an arbitrary identifier that is unique among the data type descriptor identifiers assigned for one object (table, domain, function). This view is probably not useful for applications, but it is used to define some other views in the information schema.
Table 36.18. data_type_privileges
Columns
Column Type Description |
---|
Name of the database that contains the described object (always the current database) |
Name of the schema that contains the described object |
Name of the described object |
The type of the described object: one of |
The identifier of the data type descriptor, which is unique among the data type descriptors for that same object. |