20892089 Since data types can be defined in a variety of ways in SQL, and
20902090 <productname>PostgreSQL</productname> contains additional ways to
20912091 define data types, their representation in the information schema
2092- can be somewhat difficult. The column <literal >data_type</literal >
2092+ can be somewhat difficult. The column <structfield >data_type</structfield >
20932093 is supposed to identify the underlying built-in type of the column.
20942094 In <productname>PostgreSQL</productname>, this means that the type
20952095 is defined in the system catalog schema
20962096 <literal>pg_catalog</literal>. This column might be useful if the
20972097 application can handle the well-known built-in types specially (for
20982098 example, format the numeric types differently or use the data in
2099- the precision columns). The columns <literal >udt_name</literal >,
2100- <literal >udt_schema</literal >, and <literal >udt_catalog</literal >
2099+ the precision columns). The columns <structfield >udt_name</structfield >,
2100+ <structfield >udt_schema</structfield >, and <structfield >udt_catalog</structfield >
21012101 always identify the underlying data type of the column, even if the
21022102 column is based on a domain. (Since
21032103 <productname>PostgreSQL</productname> treats built-in types like
21072107 type, because in that case it wouldn't matter if the column is
21082108 really based on a domain. If the column is based on a domain, the
21092109 identity of the domain is stored in the columns
2110- <literal >domain_name</literal >, <literal >domain_schema</literal >,
2111- and <literal >domain_catalog</literal >. If you want to pair up
2110+ <structfield >domain_name</structfield >, <structfield >domain_schema</structfield >,
2111+ and <structfield >domain_catalog</structfield >. If you want to pair up
21122112 columns with their associated data types and treat domains as
21132113 separate types, you could write <literal>coalesce(domain_name,
21142114 udt_name)</literal>, etc.
@@ -6376,7 +6376,7 @@ ORDER BY c.ordinal_position;
63766376 the sequence data type (see above). The precision indicates
63776377 the number of significant digits. It can be expressed in
63786378 decimal (base 10) or binary (base 2) terms, as specified in the
6379- column <literal >numeric_precision_radix</literal >.
6379+ column <structfield >numeric_precision_radix</structfield >.
63806380 </para></entry>
63816381 </row>
63826382
@@ -6386,8 +6386,8 @@ ORDER BY c.ordinal_position;
63866386 </para>
63876387 <para>
63886388 This column indicates in which base the values in the columns
6389- <literal >numeric_precision</literal > and
6390- <literal >numeric_scale</literal > are expressed. The value is
6389+ <structfield >numeric_precision</structfield > and
6390+ <structfield >numeric_scale</structfield > are expressed. The value is
63916391 either 2 or 10.
63926392 </para></entry>
63936393 </row>
@@ -6402,7 +6402,7 @@ ORDER BY c.ordinal_position;
64026402 of significant digits to the right of the decimal point. It
64036403 can be expressed in decimal (base 10) or binary (base 2) terms,
64046404 as specified in the column
6405- <literal >numeric_precision_radix</literal >.
6405+ <structfield >numeric_precision_radix</structfield >.
64066406 </para></entry>
64076407 </row>
64086408
@@ -6461,10 +6461,10 @@ ORDER BY c.ordinal_position;
64616461 </sect1>
64626462
64636463 <sect1 id="infoschema-sql-features">
6464- <title><literal >sql_features</literal ></title>
6464+ <title><structname >sql_features</structname ></title>
64656465
64666466 <para>
6467- The table <literal >sql_features</literal > contains information
6467+ The table <structname >sql_features</structname > contains information
64686468 about which formal features defined in the SQL standard are
64696469 supported by <productname>PostgreSQL</productname>. This is the
64706470 same information that is presented in <xref linkend="features"/>.
@@ -6556,10 +6556,10 @@ ORDER BY c.ordinal_position;
65566556 </sect1>
65576557
65586558 <sect1 id="infoschema-sql-implementation-info">
6559- <title><literal >sql_implementation_info</literal ></title>
6559+ <title><structname >sql_implementation_info</structname ></title>
65606560
65616561 <para>
6562- The table <literal >sql_implementation_info</literal > contains
6562+ The table <structname >sql_implementation_info</structname > contains
65636563 information about various aspects that are left
65646564 implementation-defined by the SQL standard. This information is
65656565 primarily intended for use in the context of the ODBC interface;
@@ -6638,10 +6638,10 @@ ORDER BY c.ordinal_position;
66386638 </sect1>
66396639
66406640 <sect1 id="infoschema-sql-parts">
6641- <title><literal >sql_parts</literal ></title>
6641+ <title><structname >sql_parts</structname ></title>
66426642
66436643 <para>
6644- The table <literal >sql_parts</literal > contains information about
6644+ The table <structname >sql_parts</structname > contains information about
66456645 which of the several parts of the SQL standard are supported by
66466646 <productname>PostgreSQL</productname>.
66476647 </para>
@@ -6714,10 +6714,10 @@ ORDER BY c.ordinal_position;
67146714 </sect1>
67156715
67166716 <sect1 id="infoschema-sql-sizing">
6717- <title><literal >sql_sizing</literal ></title>
6717+ <title><structname >sql_sizing</structname ></title>
67186718
67196719 <para>
6720- The table <literal >sql_sizing</literal > contains information about
6720+ The table <structname >sql_sizing</structname > contains information about
67216721 various size limits and maximum values in
67226722 <productname>PostgreSQL</productname>. This information is
67236723 primarily intended for use in the context of the ODBC interface;
@@ -7843,7 +7843,7 @@ ORDER BY c.ordinal_position;
78437843 in <productname>PostgreSQL</productname>) and distinct types (not
78447844 implemented in <productname>PostgreSQL</productname>). To be
78457845 future-proof, use the
7846- column <literal >user_defined_type_category</literal > to
7846+ column <structfield >user_defined_type_category</structfield > to
78477847 differentiate between these. Other user-defined types such as base
78487848 types and enums, which are <productname>PostgreSQL</productname>
78497849 extensions, are not shown here. For domains,
0 commit comments