diff options
author | Peter Eisentraut | 2023-08-16 11:46:26 +0000 |
---|---|---|
committer | Peter Eisentraut | 2023-08-16 11:46:26 +0000 |
commit | 78806a95095c4fb9230a441925244690d9c07d23 (patch) | |
tree | eae8baca5c74546e2169c93a97decc66119b883a | |
parent | c9bfa40914be4a0882b904834c2bd32775a50d7b (diff) |
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.
-rw-r--r-- | doc/src/sgml/information_schema.sgml | 9 | ||||
-rw-r--r-- | src/backend/catalog/information_schema.sql | 2 | ||||
-rw-r--r-- | src/include/catalog/catversion.h | 2 |
3 files changed, 1 insertions, 12 deletions
diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 350c75bc31e..d57a1323409 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -3136,15 +3136,6 @@ ORDER BY c.ordinal_position; <row> <entry role="catalog_table_entry"><para role="column_definition"> - <structfield>domain_default</structfield> <type>character_data</type> - </para> - <para> - Not yet implemented - </para></entry> - </row> - - <row> - <entry role="catalog_table_entry"><para role="column_definition"> <structfield>udt_catalog</structfield> <type>sql_identifier</type> </para> <para> diff --git a/src/backend/catalog/information_schema.sql b/src/backend/catalog/information_schema.sql index 8bcd42467a1..a06ec7a0a8d 100644 --- a/src/backend/catalog/information_schema.sql +++ b/src/backend/catalog/information_schema.sql @@ -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, diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index f507b49bb28..7f9c43b2aba 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -57,6 +57,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 202307261 +#define CATALOG_VERSION_NO 202308161 #endif |