38.60. user_defined_types #
Представление user_defined_types в данное время показывает все составные типы, определённые в текущей базе данных. В нём показываются только те типы, к которым имеет доступ текущий пользователь (являясь владельцем или имея некоторые права).
SQL знает два вида пользовательских типов: структурные типы (также называются составными типами в Postgres Pro Shardman) и отдельные типы (не реализованы в Postgres Pro Shardman). Для уверенности в будущем, нужно обратиться к столбцу user_defined_type_category, чтобы различить их. Другие пользовательские типы, например, базовые типы и перечисления, относящиеся к расширениям Postgres Pro Shardman, в этом представлении не показываются. О доменах можно узнать в Разделе 38.23.
Таблица 38.58. Столбцы user_defined_types
Тип столбца Описание |
|---|
Имя базы данных, содержащей тип (всегда текущая база) |
Имя схемы, содержащей тип |
Имя типа |
На данный момент всегда |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
Относится к функциональности, отсутствующей в Postgres Pro Shardman |
38.60. user_defined_types #
The view user_defined_types currently contains all composite types defined in the current database. Only those types are shown that the current user has access to (by way of being the owner or having some privilege).
SQL knows about two kinds of user-defined types: structured types (also known as composite types in Postgres Pro Shardman) and distinct types (not implemented in Postgres Pro Shardman). To be future-proof, use the column user_defined_type_category to differentiate between these. Other user-defined types such as base types and enums, which are Postgres Pro Shardman extensions, are not shown here. For domains, see Section 38.23 instead.
Table 38.58. user_defined_types Columns
Column Type Description |
|---|
Name of the database that contains the type (always the current database) |
Name of the schema that contains the type |
Name of the type |
Currently always |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |
Applies to a feature not available in Postgres Pro Shardman |