Skip to content

Commit 78806a9

Browse files
committed
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.
1 parent c9bfa40 commit 78806a9

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

doc/src/sgml/information_schema.sgml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3134,15 +3134,6 @@ ORDER BY c.ordinal_position;
31343134
</para></entry>
31353135
</row>
31363136

3137-
<row>
3138-
<entry role="catalog_table_entry"><para role="column_definition">
3139-
<structfield>domain_default</structfield> <type>character_data</type>
3140-
</para>
3141-
<para>
3142-
Not yet implemented
3143-
</para></entry>
3144-
</row>
3145-
31463137
<row>
31473138
<entry role="catalog_table_entry"><para role="column_definition">
31483139
<structfield>udt_catalog</structfield> <type>sql_identifier</type>

src/backend/catalog/information_schema.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,8 +2741,6 @@ CREATE VIEW element_types AS
27412741
CAST(null AS character_data) AS interval_type,
27422742
CAST(null AS cardinal_number) AS interval_precision,
27432743

2744-
CAST(null AS character_data) AS domain_default, -- XXX maybe a bug in the standard
2745-
27462744
CAST(current_database() AS sql_identifier) AS udt_catalog,
27472745
CAST(nbt.nspname AS sql_identifier) AS udt_schema,
27482746
CAST(bt.typname AS sql_identifier) AS udt_name,

src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
*/
5858

5959
/* yyyymmddN */
60-
#define CATALOG_VERSION_NO 202307261
60+
#define CATALOG_VERSION_NO 202308161
6161

6262
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy