Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b477a2

Browse files
committed
Add missing closing / in xsd:restriction, and remove some unnecessary
spaces for consistency. Per bug #3734 from Ben Leslie; fix byEuler Taveira de Oliveira.
1 parent20a8825 commit2b477a2

File tree

1 file changed

+5
-5
lines changed
  • src/backend/utils/adt

1 file changed

+5
-5
lines changed

‎src/backend/utils/adt/xml.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.55 2007/11/1018:51:20 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.56 2007/11/1019:29:54 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2707,11 +2707,11 @@ map_sql_schema_to_xmlschema_types(Oid nspid, List *relid_list, bool nulls,
27072707

27082708
if (!tableforest)
27092709
appendStringInfo(&result,
2710-
" <xsd:element name=\"%s\" type=\"%s\"/>\n",
2710+
" <xsd:element name=\"%s\" type=\"%s\"/>\n",
27112711
xmltn,tabletypename);
27122712
else
27132713
appendStringInfo(&result,
2714-
" <xsd:element name=\"%s\" type=\"%s\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n",
2714+
" <xsd:element name=\"%s\" type=\"%s\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n",
27152715
xmltn,tabletypename);
27162716
}
27172717

@@ -2773,7 +2773,7 @@ map_sql_catalog_to_xmlschema_types(List *nspid_list, bool nulls,
27732773
NULL);
27742774

27752775
appendStringInfo(&result,
2776-
" <xsd:element name=\"%s\" type=\"%s\"/>\n",
2776+
" <xsd:element name=\"%s\" type=\"%s\"/>\n",
27772777
xmlsn,schematypename);
27782778
}
27792779

@@ -3111,7 +3111,7 @@ map_sql_type_to_xmlschema_type(Oid typeoid, int typmod)
31113111
base_typeoid=getBaseTypeAndTypmod(typeoid,&base_typmod);
31123112

31133113
appendStringInfo(&result,
3114-
" <xsd:restriction base=\"%s\">\n",
3114+
" <xsd:restriction base=\"%s\"/>\n",
31153115
map_sql_type_to_xml_name(base_typeoid,base_typmod));
31163116
}
31173117
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp