diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2007-02-11 22:18:16 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2007-02-11 22:18:16 +0000 |
commit | eb19144894b0ed44602d6cb8daee9eaa59c902c5 (patch) | |
tree | 9cc455dbfde7496b123494fba16fea348259954d /src/include/utils/xml.h | |
parent | 733abd298781d604660bc316a845290991774588 (diff) | |
download | postgresql-eb19144894b0ed44602d6cb8daee9eaa59c902c5.tar.gz postgresql-eb19144894b0ed44602d6cb8daee9eaa59c902c5.zip |
Add support for optionally escaping periods when converting SQL identifiers
to XML names, which will be required for supporting XML export.
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 f207917ea85..99ec499c5c9 100644 --- a/src/include/utils/xml.h +++ b/src/include/utils/xml.h @@ -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/include/utils/xml.h,v 1.14 2007/02/03 14:06:56 petere Exp $ + * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.15 2007/02/11 22:18:16 petere Exp $ * *------------------------------------------------------------------------- */ @@ -53,7 +53,7 @@ extern xmltype *xmlroot(xmltype *data, text *version, int standalone); extern bool xml_is_document(xmltype *arg); extern text *xmltotext_with_xmloption(xmltype *data, XmlOptionType xmloption_arg); -extern char *map_sql_identifier_to_xml_name(char *ident, bool fully_escaped); +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); |