From 78806a95095c4fb9230a441925244690d9c07d23 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 16 Aug 2023 13:46:26 +0200 Subject: [PATCH] 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. --- doc/src/sgml/information_schema.sgml | 9 --------- src/backend/catalog/information_schema.sql | 2 -- src/include/catalog/catversion.h | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 350c75bc31..d57a132340 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -3134,15 +3134,6 @@ ORDER BY c.ordinal_position; - - - domain_default character_data - - - Not yet implemented - - - udt_catalog sql_identifier diff --git a/src/backend/catalog/information_schema.sql b/src/backend/catalog/information_schema.sql index 8bcd42467a..a06ec7a0a8 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 f507b49bb2..7f9c43b2ab 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