File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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.27 2007/02/11 22:18:15 petere Exp $
10+ * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.28 2007/02/13 15:56:12 mha Exp $
1111 *
1212 *-------------------------------------------------------------------------
1313 */
@@ -1320,16 +1320,16 @@ is_valid_xml_namechar(pg_wchar c)
13201320char *
13211321map_sql_identifier_to_xml_name (char * ident , bool fully_escaped , bool escape_period )
13221322{
1323+ #ifdef USE_LIBXML
1324+ StringInfoData buf ;
1325+ char * p ;
1326+
13231327 /*
13241328 * SQL/XML doesn't make use of this case anywhere, so it's
13251329 * probably a mistake.
13261330 */
13271331 Assert (fully_escaped || !escape_period );
13281332
1329- #ifdef USE_LIBXML
1330- StringInfoData buf ;
1331- char * p ;
1332-
13331333 initStringInfo (& buf );
13341334
13351335 for (p = ident ; * p ; p += pg_mblen (p ))
You can’t perform that action at this time.
0 commit comments