|
- table_catalog
- sql_identifier
- Name of the database containing the table (always the current database)
+ table_catalog sql_identifier
+
+ Name of the database containing the table (always the current database)
+
|
- table_schema
- sql_identifier
- Name of the schema containing the table
+ table_schema sql_identifier
+
+ Name of the schema containing the table
+
|
- table_name
- sql_identifier
- Name of the table
+ table_name sql_identifier
+
+ Name of the table
+
|
- column_name
- sql_identifier
- Name of the column
+ column_name sql_identifier
+
+ Name of the column
+
|
- ordinal_position
- cardinal_number
- Ordinal position of the column within the table (count starts at 1)
+ ordinal_position cardinal_number
+
+ Ordinal position of the column within the table (count starts at 1)
+
|
- column_default
- character_data
- Default expression of the column
+ column_default character_data
+
+ Default expression of the column
+
|
- is_nullable
- yes_or_no
-
- YES if the column is possibly nullable,
+ is_nullable yes_or_no
+
+ YES if the column is possibly nullable,
NO if it is known not nullable. A not-null
constraint is one way a column can be known not nullable, but
there can be others.
-
+ para>entry>
|
- data_type
- character_data
-
+ data_type character_data
+
Data type of the column, if it is a built-in type, or
ARRAY if it is some array (in that case, see
the view element_types), else
refers to the type underlying the domain (and the domain is
identified in domain_name and associated
columns).
-
+ para>entry>
|
- character_maximum_length
- cardinal_number
-
+ character_maximum_length cardinal_number
+
If data_type identifies a character or bit
string type, the declared maximum length; null for all other
data types or if no maximum length was declared.
-
+ para>entry>
|
- character_octet_length
- cardinal_number
-
+ character_octet_length cardinal_number
+
If data_type identifies a character type,
the maximum possible length in octets (bytes) of a datum; null
for all other data types. The maximum octet length depends on
the declared character maximum length (see above) and the
server encoding.
-
+ para>entry>
|
- numeric_precision
- cardinal_number
-
+ numeric_precision cardinal_number
+
If data_type identifies a numeric type, this
column contains the (declared or implicit) precision of the
type for this column. The precision indicates the number of
or binary (base 2) terms, as specified in the column
numeric_precision_radix. For all other data
types, this column is null.
-
+ para>entry>
|
- numeric_precision_radix
- cardinal_number
-
+ numeric_precision_radix cardinal_number
+
If data_type identifies a numeric type, this
column indicates in which base the values in the columns
numeric_precision and
numeric_scale are expressed. The value is
either 2 or 10. For all other data types, this column is null.
-
+ para>entry>
|
- numeric_scale
- cardinal_number
-
+ numeric_scale cardinal_number
+
If data_type identifies an exact numeric
type, this column contains the (declared or implicit) scale of
the type for this column. The scale indicates the number of
specified in the column
numeric_precision_radix. For all other data
types, this column is null.
-
+ para>entry>
|
- datetime_precision
- cardinal_number
-
+ datetime_precision cardinal_number
+
If data_type identifies a date, time,
timestamp, or interval type, this column contains the (declared
or implicit) fractional seconds precision of the type for this
column, that is, the number of decimal digits maintained
following the decimal point in the seconds value. For all
other data types, this column is null.
-
+ para>entry>
|
- interval_type
- character_data
-
+ interval_type character_data
+
If data_type identifies an interval type,
this column contains the specification which fields the
intervals include for this column, e.g., YEAR TO
field restrictions were specified (that is, the interval
accepts all fields), and for all other data types, this field
is null.
-
+ para>entry>
|
- interval_precision
- cardinal_number
-
+ interval_precision cardinal_number
+
Applies to a feature not available
(see datetime_precision for the fractional
seconds precision of interval type columns)
-
+ para>entry>
|
- character_set_catalog
- sql_identifier
-
Applies to a feature not available in PostgreSQL
+ character_set_catalog sql_identifier
+
+ Applies to a feature not available in
PostgreSQL
+
|
- character_set_schema
- sql_identifier
-
Applies to a feature not available in PostgreSQL
+ character_set_schema sql_identifier
+
+ Applies to a feature not available in
PostgreSQL
+
|
- character_set_name
- sql_identifier
-
Applies to a feature not available in PostgreSQL
+ character_set_name sql_identifier
+
+ Applies to a feature not available in
PostgreSQL
+
|
- collation_catalog
- sql_identifier
-
+ collation_catalog sql_identifier
+
Name of the database containing the collation of the column
(always the current database), null if default or the data type
of the column is not collatable
-
+ para>entry>
|
- collation_schema
- sql_identifier
-
+ collation_schema sql_identifier
+
Name of the schema containing the collation of the column, null
if default or the data type of the column is not collatable
-
+ para>entry>
|
- collation_name
- sql_identifier
-
+ collation_name sql_identifier
+
Name of the collation of the column, null if default or the
data type of the column is not collatable
-
+ para>entry>
|
- domain_catalog
- sql_identifier
-
+ domain_catalog sql_identifier
+
If the column has a domain type, the name of the database that
the domain is defined in (always the current database), else
null.
-
+ para>entry>
|
- domain_schema
- sql_identifier
-
+ domain_schema sql_identifier
+
If the column has a domain type, the name of the schema that
the domain is defined in, else null.
-
+ para>entry>
|
- domain_name
- sql_identifier
- If the column has a domain type, the name of the domain, else null.
+ domain_name sql_identifier
+
+ If the column has a domain type, the name of the domain, else null.
+
|
- udt_catalog
- sql_identifier
-
+ udt_catalog sql_identifier
+
Name of the database that the column data type (the underlying
type of the domain, if applicable) is defined in (always the
current database)
-
+ para>entry>
|
- udt_schema
- sql_identifier
-
+ udt_schema sql_identifier
+
Name of the schema that the column data type (the underlying
type of the domain, if applicable) is defined in
-
+ para>entry>
|
- udt_name
- sql_identifier
-
+ udt_name sql_identifier
+
Name of the column data type (the underlying type of the
domain, if applicable)
-
+ para>entry>
|
- scope_catalog
- sql_identifier
-
Applies to a feature not available in PostgreSQL
+ scope_catalog sql_identifier
+
+ Applies to a feature not available in
PostgreSQL
+
|
- scope_schema
- sql_identifier
-
Applies to a feature not available in PostgreSQL
+ scope_schema sql_identifier
+
+ Applies to a feature not available in
PostgreSQL
+
|
- scope_name
- sql_identifier
-
Applies to a feature not available in PostgreSQL
+ scope_name sql_identifier
+
+ Applies to a feature not available in
PostgreSQL
+
|
- maximum_cardinality
- cardinal_number
-
Always null, because arrays always have unlimited maximum cardinality in PostgreSQL
+ maximum_cardinality cardinal_number
+
+ Always null, because arrays always have unlimited maximum cardinality in
PostgreSQL
+
|
- dtd_identifier
- sql_identifier
-
+ dtd_identifier sql_identifier
+
An identifier of the data type descriptor of the column, unique
among the data type descriptors pertaining to the table. This
is mainly useful for joining with other instances of such
identifiers. (The specific format of the identifier is not
defined and not guaranteed to remain the same in future
versions.)
-
+ para>entry>
|
- is_self_referencing
- yes_or_no
-
Applies to a feature not available in PostgreSQL
+ is_self_referencing yes_or_no
+
+ Applies to a feature not available in
PostgreSQL
+
|
- is_identity
- yes_or_no
-
+ is_identity yes_or_no
+
If the column is an identity column, then YES,
else NO.
-
+ para>entry>
|
- identity_generation
- character_data
-
+ identity_generation character_data
+
If the column is an identity column, then ALWAYS
or BY DEFAULT, reflecting the definition of the
column.
-
+ para>entry>
|
- identity_start
- character_data
-
+ identity_start character_data
+
If the column is an identity column, then the start value of the
internal sequence, else null.
-
+ para>entry>
|
- identity_increment
- character_data
-
+ identity_increment character_data
+
If the column is an identity column, then the increment of the internal
sequence, else null.
-
+ para>entry>
|
- identity_maximum
- character_data
-
+ identity_maximum character_data
+
If the column is an identity column, then the maximum value of the
internal sequence, else null.
-
+ para>entry>
|
- identity_minimum
- character_data
-
+ identity_minimum character_data
+
If the column is an identity column, then the minimum value of the
internal sequence, else null.
-
+ para>entry>
|
- identity_cycle
- yes_or_no
-
+ identity_cycle yes_or_no
+
If the column is an identity column, then YES if the
internal sequence cycles or NO if it does not;
otherwise null.
-
+ para>entry>
|
- is_generated
- character_data
-
+ is_generated character_data
+
If the column is a generated column, then ALWAYS,
else NEVER.
-
+ para>entry>
|
- generation_expression
- character_data
-
+ generation_expression character_data
+
If the column is a generated column, then the generation expression,
else null.
-
+ para>entry>
|
- is_updatable
- yes_or_no
-
+ is_updatable yes_or_no
+
YES if the column is updatable,
NO if not (Columns in base tables are always
updatable, columns in views not necessarily)
-
+ para>entry>