Index: src/backend/utils/adt/xml.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/backend/utils/adt/xml.c,v retrieving revision 1.27 diff -c -r1.27 xml.c *** src/backend/utils/adt/xml.c 11 Feb 2007 22:18:15 -0000 1.27 --- src/backend/utils/adt/xml.c 13 Feb 2007 15:38:16 -0000 *************** *** 1320,1335 **** char * map_sql_identifier_to_xml_name(char *ident, bool fully_escaped, bool escape_period) { /* * SQL/XML doesn't make use of this case anywhere, so it's * probably a mistake. */ Assert(fully_escaped || !escape_period); - #ifdef USE_LIBXML - StringInfoData buf; - char *p; - initStringInfo(&buf); for (p = ident; *p; p += pg_mblen(p)) --- 1320,1335 ---- char * map_sql_identifier_to_xml_name(char *ident, bool fully_escaped, bool escape_period) { + #ifdef USE_LIBXML + StringInfoData buf; + char *p; + /* * SQL/XML doesn't make use of this case anywhere, so it's * probably a mistake. */ Assert(fully_escaped || !escape_period); initStringInfo(&buf); for (p = ident; *p; p += pg_mblen(p))