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

Commit6fbc803

Browse files
committed
Set user_defined_types.data_type to null
On re-reading the standard, this field is only used for distinct orreference types.
1 parente24662c commit6fbc803

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(nullAS sql_identifier)AS ordering_routine_schema,
21992199
CAST(nullAS sql_identifier)AS ordering_routine_name,
22002200
CAST(nullAS character_data)AS reference_type,
2201-
CAST('USER-DEFINED TYPE'AS character_data)AS data_type,
2201+
CAST(nullAS character_data)AS data_type,
22022202
CAST(nullAS cardinal_number)AS character_maximum_length,
22032203
CAST(nullAS cardinal_number)AS character_octet_length,
22042204
CAST(nullAS sql_identifier)AS character_set_catalog,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp