Remove incorrect field from information schema
authorPeter Eisentraut <[email protected]>
Wed, 16 Aug 2023 11:46:26 +0000 (13:46 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 16 Aug 2023 11:46:26 +0000 (13:46 +0200)
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
src/backend/catalog/information_schema.sql
src/include/catalog/catversion.h

index 350c75bc31ef83c7a3d25c7e3f31766bfae3aa66..d57a1323409afd3ad048409ebd77f1d8a263e0a5 100644 (file)
@@ -3134,15 +3134,6 @@ ORDER BY c.ordinal_position;
       </para></entry>
      </row>
 
-     <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>
index 8bcd42467a190aa69c8ca1afa3efea4a44a170a4..a06ec7a0a8d03dec875bc65ad155cc7260ac58fb 100644 (file)
@@ -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,
index f507b49bb2810b5f17daf38e92f7494e3c824f9b..7f9c43b2aba586791c773ab0d78aa1031b488e17 100644 (file)
@@ -57,6 +57,6 @@
  */
 
 /*                         yyyymmddN */
-#define CATALOG_VERSION_NO 202307261
+#define CATALOG_VERSION_NO 202308161
 
 #endif