Skip to content

Commit 8e1ccad

Browse files
committed
Update information_schema documentation to match system tables.
Backpatch to 8.2.X.
1 parent ddd8817 commit 8e1ccad

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

doc/src/sgml/information_schema.sgml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 $ -->
22

33
<chapter id="information-schema">
44
<title>The Information Schema</title>
@@ -1876,7 +1876,7 @@
18761876
SELECT c.column_name, c.data_type, e.data_type AS element_type
18771877
FROM information_schema.columns c LEFT JOIN information_schema.element_types e
18781878
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))
18801880
WHERE c.table_schema = '...' AND c.table_name = '...'
18811881
ORDER BY c.ordinal_position;
18821882
</programlisting>
@@ -1936,13 +1936,11 @@ ORDER BY c.ordinal_position;
19361936
</row>
19371937

19381938
<row>
1939-
<entry><literal>array_type_identifier</literal></entry>
1939+
<entry><literal>dtd_identifier</literal></entry>
19401940
<entry><type>sql_identifier</type></entry>
19411941
<entry>
19421942
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
19461944
</entry>
19471945
</row>
19481946

@@ -2097,13 +2095,6 @@ ORDER BY c.ordinal_position;
20972095
<entry>Always null, because arrays always have unlimited maximum cardinality in <productname>PostgreSQL</></entry>
20982096
</row>
20992097

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>
21072098
</row>
21082099
</tbody>
21092100
</tgroup>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy