<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>object_name</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the described object
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>object_type</structfield> <type>character_data</type>
</para>
<para>
The type of the described object: one of
<literal>TABLE</literal> (the data type descriptor pertains to
a column of that table), <literal>DOMAIN</literal> (the data
type descriptors pertains to that domain),
<literal>ROUTINE</literal> (the data type descriptor pertains
to a parameter or the return data type of that function).
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>dtd_identifier</structfield> <type>sql_identifier</type>
</para>
<para>
The identifier of the data type descriptor, which is unique
among the data type descriptors for that same object.
</para></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="infoschema-domain-constraints">
<title><literal>domain_constraints</literal></title>
<para>
The view <literal>domain_constraints</literal> contains all constraints
belonging to domains defined in the current database. Only those domains
are shown that the current user has access to (by way of being the owner or
having some privilege).
</para>
<table>
<title><structname>domain_constraints</structname> Columns</title>
<tgroup cols="1">
<thead>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
Column Type
</para>
<para>
Description
</para></entry>
</row>
</thead>
<tbody>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>constraint_catalog</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the database that contains the constraint (always the current database)
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>constraint_schema</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the schema that contains the constraint
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>constraint_name</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the constraint
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>domain_catalog</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the database that contains the domain (always the current database)
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>domain_schema</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the schema that contains the domain
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>domain_name</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the domain
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>is_deferrable</structfield> <type>yes_or_no</type>
</para>
<para>
<literal>YES</literal> if the constraint is deferrable, <literal>NO</literal> if not
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">