mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Update information_schema documentation to match system tables.
Backpatch to 8.2.X.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.29 2006/10/23 18:10:31 petere Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.29.2.1 2007/02/20 18:47:34 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="information-schema">
|
<chapter id="information-schema">
|
||||||
<title>The Information Schema</title>
|
<title>The Information Schema</title>
|
||||||
@ -1876,7 +1876,7 @@
|
|||||||
SELECT c.column_name, c.data_type, e.data_type AS element_type
|
SELECT c.column_name, c.data_type, e.data_type AS element_type
|
||||||
FROM information_schema.columns c LEFT JOIN information_schema.element_types e
|
FROM information_schema.columns c LEFT JOIN information_schema.element_types e
|
||||||
ON ((c.table_catalog, c.table_schema, c.table_name, 'TABLE', c.dtd_identifier)
|
ON ((c.table_catalog, c.table_schema, c.table_name, 'TABLE', c.dtd_identifier)
|
||||||
= (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.array_type_identifier))
|
= (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.dtd_identifier))
|
||||||
WHERE c.table_schema = '...' AND c.table_name = '...'
|
WHERE c.table_schema = '...' AND c.table_name = '...'
|
||||||
ORDER BY c.ordinal_position;
|
ORDER BY c.ordinal_position;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
@ -1936,13 +1936,11 @@ ORDER BY c.ordinal_position;
|
|||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>array_type_identifier</literal></entry>
|
<entry><literal>dtd_identifier</literal></entry>
|
||||||
<entry><type>sql_identifier</type></entry>
|
<entry><type>sql_identifier</type></entry>
|
||||||
<entry>
|
<entry>
|
||||||
The identifier of the data type descriptor of the array being
|
The identifier of the data type descriptor of the array being
|
||||||
described. Use this to join with the
|
described
|
||||||
<literal>dtd_identifier</literal> columns of other information
|
|
||||||
schema views.
|
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
@ -2097,13 +2095,6 @@ ORDER BY c.ordinal_position;
|
|||||||
<entry>Always null, because arrays always have unlimited maximum cardinality in <productname>PostgreSQL</></entry>
|
<entry>Always null, because arrays always have unlimited maximum cardinality in <productname>PostgreSQL</></entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
|
||||||
<entry><literal>dtd_identifier</literal></entry>
|
|
||||||
<entry><type>sql_identifier</type></entry>
|
|
||||||
<entry>
|
|
||||||
An identifier of the data type descriptor of the element. This
|
|
||||||
is currently not useful.
|
|
||||||
</entry>
|
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
Reference in New Issue
Block a user