diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-10 05:46:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-10 05:46:50 +0000 |
commit | 9bd27b7c9e998087f390774bd0f43916813a2847 (patch) | |
tree | ee2b7fa2b2e77c53c87a53a786163dae1b0e6538 /src/include/utils/xml.h | |
parent | 18894c401f1f5ec5af1d08a12da1f183599e8560 (diff) | |
download | postgresql-9bd27b7c9e998087f390774bd0f43916813a2847.tar.gz postgresql-9bd27b7c9e998087f390774bd0f43916813a2847.zip |
Extend EXPLAIN to support output in XML or JSON format.
There are probably still some adjustments to be made in the details
of the output, but this gets the basic structure in place.
Robert Haas
Diffstat (limited to 'src/include/utils/xml.h')
-rw-r--r-- | src/include/utils/xml.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/xml.h b/src/include/utils/xml.h index b7d631c031b..b7829a84de0 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.28 2009/06/11 14:49:13 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.29 2009/08/10 05:46:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -70,6 +70,7 @@ extern xmltype *xmlpi(char *target, text *arg, bool arg_is_null, bool *result_is 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 *escape_xml(const char *str); 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); |