|
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.dtd_identifier)) |
| 1879 | + = (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.collection_type_identifier)) |
1880 | 1880 | WHERE c.table_schema = '...' AND c.table_name = '...'
|
1881 | 1881 | ORDER BY c.ordinal_position;
|
1882 | 1882 | </programlisting>
|
@@ -1936,11 +1936,13 @@ ORDER BY c.ordinal_position;
|
1936 | 1936 | </row>
|
1937 | 1937 |
|
1938 | 1938 | <row>
|
1939 |
| - <entry><literal>dtd_identifier</literal></entry> |
| 1939 | + <entry><literal>collection_type_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 |
| 1943 | + described. Use this to join with the |
| 1944 | + <literal>dtd_identifier</literal> columns of other information |
| 1945 | + schema views. |
1944 | 1946 | </entry>
|
1945 | 1947 | </row>
|
1946 | 1948 |
|
@@ -2094,6 +2096,15 @@ ORDER BY c.ordinal_position;
|
2094 | 2096 | <entry><type>cardinal_number</type></entry>
|
2095 | 2097 | <entry>Always null, because arrays always have unlimited maximum cardinality in <productname>PostgreSQL</></entry>
|
2096 | 2098 | </row>
|
| 2099 | + |
| 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 | + </row> |
2097 | 2108 | </tbody>
|
2098 | 2109 | </tgroup>
|
2099 | 2110 | </table>
|
|
0 commit comments