Skip to content

Commit 6fbc803

Browse files
committed
Set user_defined_types.data_type to null
On re-reading the standard, this field is only used for distinct or reference types.
1 parent e24662c commit 6fbc803

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

doc/src/sgml/information_schema.sgml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5925,11 +5925,7 @@ ORDER BY c.ordinal_position;
59255925
<row>
59265926
<entry><literal>data_type</literal></entry>
59275927
<entry><type>character_data</type></entry>
5928-
<entry>
5929-
Always <literal>USER-DEFINED TYPE</literal> (for joining
5930-
against <literal>object_type</literal> columns in other
5931-
views)
5932-
</entry>
5928+
<entry>Applies to a feature not available in <productname>PostgreSQL</></entry>
59335929
</row>
59345930

59355931
<row>

src/backend/catalog/information_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ CREATE VIEW user_defined_types AS
21982198
CAST(null AS sql_identifier) AS ordering_routine_schema,
21992199
CAST(null AS sql_identifier) AS ordering_routine_name,
22002200
CAST(null AS character_data) AS reference_type,
2201-
CAST('USER-DEFINED TYPE' AS character_data) AS data_type,
2201+
CAST(null AS character_data) AS data_type,
22022202
CAST(null AS cardinal_number) AS character_maximum_length,
22032203
CAST(null AS cardinal_number) AS character_octet_length,
22042204
CAST(null AS sql_identifier) AS character_set_catalog,

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