mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Remove incorrect field from information schema
The source code comment already said that the presence of the field element_types.domain_default might be a bug in the standard, since it never made sense there. Indeed, the field is gone in newer versions of the standard. So just remove it.
This commit is contained in:
@@ -2741,8 +2741,6 @@ CREATE VIEW element_types AS
|
||||
CAST(null AS character_data) AS interval_type,
|
||||
CAST(null AS cardinal_number) AS interval_precision,
|
||||
|
||||
CAST(null AS character_data) AS domain_default, -- XXX maybe a bug in the standard
|
||||
|
||||
CAST(current_database() AS sql_identifier) AS udt_catalog,
|
||||
CAST(nbt.nspname AS sql_identifier) AS udt_schema,
|
||||
CAST(bt.typname AS sql_identifier) AS udt_name,
|
||||
|
||||
Reference in New Issue
Block a user