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

Commita999ff6

Browse files
committed
Use double quotes for quoting xml attributes.
1 parent66b1f4d commita999ff6

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 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.59 2007/11/20 23:14:41 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.60 2007/11/25 12:08:11 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -3019,7 +3019,7 @@ map_sql_type_to_xmlschema_type(Oid typeoid, int typmod)
30193019

30203020
caseINT4OID:
30213021
appendStringInfo(&result,
3022-
" <xsd:restriction base='xsd:int'>\n"
3022+
" <xsd:restriction base=\"xsd:int\">\n"
30233023
" <xsd:maxInclusive value=\"%d\"/>\n"
30243024
" <xsd:minInclusive value=\"%d\"/>\n"
30253025
" </xsd:restriction>\n",
@@ -3168,7 +3168,7 @@ SPI_sql_row_to_xmlelement(int rownum, StringInfo result, char *tablename,
31683168
if (isnull)
31693169
{
31703170
if (nulls)
3171-
appendStringInfo(result," <%s xsi:nil='true'/>\n",colname);
3171+
appendStringInfo(result," <%s xsi:nil=\"true\"/>\n",colname);
31723172
}
31733173
else
31743174
appendStringInfo(result," <%s>%s</%s>\n",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp