|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.31 2007/02/01 00:28:17 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.32 2007/02/20 18:47:25 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="information-schema"> |
4 | 4 | <title>The Information Schema</title> |
|
1876 | 1876 | SELECT c.column_name, c.data_type, e.data_type AS element_type |
1877 | 1877 | FROM information_schema.columns c LEFT JOIN information_schema.element_types e |
1878 | 1878 | ON ((c.table_catalog, c.table_schema, c.table_name, 'TABLE', c.dtd_identifier) |
1879 | | - = (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.array_type_identifier)) |
| 1879 | + = (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.dtd_identifier)) |
1880 | 1880 | WHERE c.table_schema = '...' AND c.table_name = '...' |
1881 | 1881 | ORDER BY c.ordinal_position; |
1882 | 1882 | </programlisting> |
@@ -1936,13 +1936,11 @@ ORDER BY c.ordinal_position; |
1936 | 1936 | </row> |
1937 | 1937 |
|
1938 | 1938 | <row> |
1939 | | - <entry><literal>array_type_identifier</literal></entry> |
| 1939 | + <entry><literal>dtd_identifier</literal></entry> |
1940 | 1940 | <entry><type>sql_identifier</type></entry> |
1941 | 1941 | <entry> |
1942 | 1942 | The identifier of the data type descriptor of the array being |
1943 | | - described. Use this to join with the |
1944 | | - <literal>dtd_identifier</literal> columns of other information |
1945 | | - schema views. |
| 1943 | + described |
1946 | 1944 | </entry> |
1947 | 1945 | </row> |
1948 | 1946 |
|
@@ -2097,13 +2095,6 @@ ORDER BY c.ordinal_position; |
2097 | 2095 | <entry>Always null, because arrays always have unlimited maximum cardinality in <productname>PostgreSQL</></entry> |
2098 | 2096 | </row> |
2099 | 2097 |
|
2100 | | - <row> |
2101 | | - <entry><literal>dtd_identifier</literal></entry> |
2102 | | - <entry><type>sql_identifier</type></entry> |
2103 | | - <entry> |
2104 | | - An identifier of the data type descriptor of the element. This |
2105 | | - is currently not useful. |
2106 | | - </entry> |
2107 | 2098 | </row> |
2108 | 2099 | </tbody> |
2109 | 2100 | </tgroup> |
|
0 commit comments