Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d43ae6

Browse files
committed
Fix documentation of information_schema.element_types
The documentation of the columns collection_type_identifier anddtd_identifier was wrong. This effectively reverts commits8e1ccad and57352df and updates the namearray_type_identifier (the name in SQL:1999) tocollection_type_identifier.closes bug #5926
1 parent3ebc061 commit7d43ae6

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

‎doc/src/sgml/information_schema.sgml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,7 +2159,7 @@
21592159
SELECT c.column_name, c.data_type, e.data_type AS element_type
21602160
FROM information_schema.columns c LEFT JOIN information_schema.element_types e
21612161
ON ((c.table_catalog, c.table_schema, c.table_name, 'TABLE', c.dtd_identifier)
2162-
= (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.dtd_identifier))
2162+
= (e.object_catalog, e.object_schema, e.object_name, e.object_type, e.collection_type_identifier))
21632163
WHERE c.table_schema = '...' AND c.table_name = '...'
21642164
ORDER BY c.ordinal_position;
21652165
</programlisting>
@@ -2219,11 +2219,13 @@ ORDER BY c.ordinal_position;
22192219
</row>
22202220

22212221
<row>
2222-
<entry><literal>dtd_identifier</literal></entry>
2222+
<entry><literal>collection_type_identifier</literal></entry>
22232223
<entry><type>sql_identifier</type></entry>
22242224
<entry>
22252225
The identifier of the data type descriptor of the array being
2226-
described
2226+
described. Use this to join with the
2227+
<literal>dtd_identifier</literal> columns of other information
2228+
schema views.
22272229
</entry>
22282230
</row>
22292231

@@ -2378,6 +2380,14 @@ ORDER BY c.ordinal_position;
23782380
<entry>Always null, because arrays always have unlimited maximum cardinality in <productname>PostgreSQL</></entry>
23792381
</row>
23802382

2383+
<row>
2384+
<entry><literal>dtd_identifier</literal></entry>
2385+
<entry><type>sql_identifier</type></entry>
2386+
<entry>
2387+
An identifier of the data type descriptor of the element. This
2388+
is currently not useful.
2389+
</entry>
2390+
</row>
23812391
</tbody>
23822392
</tgroup>
23832393
</table>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp