1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-09 18:21:05 +03:00

Add missing closing / in xsd:restriction, and remove some unnecessary

spaces for consistency.  Per bug #3734 from Ben Leslie; fix by
Euler Taveira de Oliveira.
This commit is contained in:
Tom Lane 2007-11-10 19:29:54 +00:00
parent 20a8825778
commit 2b477a2c73

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.55 2007/11/10 18:51:20 tgl Exp $ * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.56 2007/11/10 19:29:54 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -3111,7 +3111,7 @@ map_sql_type_to_xmlschema_type(Oid typeoid, int typmod)
base_typeoid = getBaseTypeAndTypmod(typeoid, &base_typmod); base_typeoid = getBaseTypeAndTypmod(typeoid, &base_typmod);
appendStringInfo(&result, appendStringInfo(&result,
" <xsd:restriction base=\"%s\">\n", " <xsd:restriction base=\"%s\"/>\n",
map_sql_type_to_xml_name(base_typeoid, base_typmod)); map_sql_type_to_xml_name(base_typeoid, base_typmod));
} }
break; break;