From 2b477a2c7344bed9223e2bc38dbfbf8590ae85a2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 10 Nov 2007 19:29:54 +0000 Subject: [PATCH] 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. --- src/backend/utils/adt/xml.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/utils/adt/xml.c b/src/backend/utils/adt/xml.c index 1e96555a7b..e9d9703c9f 100644 --- a/src/backend/utils/adt/xml.c +++ b/src/backend/utils/adt/xml.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * 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 $ * *------------------------------------------------------------------------- */ @@ -2707,11 +2707,11 @@ map_sql_schema_to_xmlschema_types(Oid nspid, List *relid_list, bool nulls, if (!tableforest) appendStringInfo(&result, - " \n", + " \n", xmltn, tabletypename); else appendStringInfo(&result, - " \n", + " \n", xmltn, tabletypename); } @@ -2773,7 +2773,7 @@ map_sql_catalog_to_xmlschema_types(List *nspid_list, bool nulls, NULL); appendStringInfo(&result, - " \n", + " \n", xmlsn, schematypename); } @@ -3111,7 +3111,7 @@ map_sql_type_to_xmlschema_type(Oid typeoid, int typmod) base_typeoid = getBaseTypeAndTypmod(typeoid, &base_typmod); appendStringInfo(&result, - " \n", + " \n", map_sql_type_to_xml_name(base_typeoid, base_typmod)); } break; -- 2.40.0