diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2007-01-14 13:11:54 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2007-01-14 13:11:54 +0000 |
commit | 2f8f76bcd5f175021e34bf5e23dcefc4286cb485 (patch) | |
tree | 988cbda3b12dda2b055f36d4a8596de7952b6614 /src/include/utils/xml.h | |
parent | 62c06186f55f7968f432bfc16ea2b6a7150698a6 (diff) | |
download | postgresql-2f8f76bcd5f175021e34bf5e23dcefc4286cb485.tar.gz postgresql-2f8f76bcd5f175021e34bf5e23dcefc4286cb485.zip |
Add support for xmlval IS DOCUMENT expression.
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 b7b105ef157..9e576bdecbe 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.9 2007/01/12 21:47:27 petere Exp $ + * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.10 2007/01/14 13:11:54 petere Exp $ * *------------------------------------------------------------------------- */ @@ -37,6 +37,7 @@ extern xmltype *xmlelement(XmlExprState *xmlExpr, ExprContext *econtext); extern xmltype *xmlparse(text *data, bool is_doc, bool preserve_whitespace); extern xmltype *xmlpi(char *target, text *arg, bool arg_is_null, bool *result_is_null); extern xmltype *xmlroot(xmltype *data, text *version, int standalone); +extern bool xml_is_document(xmltype *arg); extern char *map_sql_identifier_to_xml_name(char *ident, bool fully_escaped); extern char *map_xml_name_to_sql_identifier(char *name); |