diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-06-09 22:00:57 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-06-09 22:00:57 +0000 |
commit | 9b7304bc25f9e9d3e413b1efd84435ba7f4bd326 (patch) | |
tree | 6a04529422ed91445d22291b7c4e861470b3e96d /src/include/utils/xml.h | |
parent | e343eaafc2cc7f39235ffe10c78dd7275a9f2d04 (diff) | |
download | postgresql-9b7304bc25f9e9d3e413b1efd84435ba7f4bd326.tar.gz postgresql-9b7304bc25f9e9d3e413b1efd84435ba7f4bd326.zip |
Fix xmlattribute escaping XML special characters twice (bug #4822).
Author: Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Diffstat (limited to 'src/include/utils/xml.h')
-rw-r--r-- | src/include/utils/xml.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/xml.h b/src/include/utils/xml.h index f11ec721c48..af953f2b350 100644 --- a/src/include/utils/xml.h +++ b/src/include/utils/xml.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.26 2009/05/13 20:27:17 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.27 2009/06/09 22:00:57 petere Exp $ * *------------------------------------------------------------------------- */ @@ -73,7 +73,7 @@ extern text *xmltotext_with_xmloption(xmltype *data, XmlOptionType xmloption_arg extern char *map_sql_identifier_to_xml_name(char *ident, bool fully_escaped, bool escape_period); extern char *map_xml_name_to_sql_identifier(char *name); -extern char *map_sql_value_to_xml_value(Datum value, Oid type); +extern char *map_sql_value_to_xml_value(Datum value, Oid type, bool xml_escape_strings); typedef enum { |