summaryrefslogtreecommitdiff
path: root/src/include/utils/xml.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2007-01-07 22:49:56 +0000
committerPeter Eisentraut <peter_e@gmx.net>2007-01-07 22:49:56 +0000
commitd807c7ef3f1a04026c3c4b5b24954f7fc84d0e46 (patch)
tree592a826a1d9a2cf29e6acae3f6cc0d5283708286 /src/include/utils/xml.h
parentde9aa5a7b4d9696b1daceba01d155cbd783bc883 (diff)
Some fine-tuning of xmlpi in corner cases:
- correct error codes - do syntax checks in correct order - strip leading spaces of argument
Diffstat (limited to 'src/include/utils/xml.h')
-rw-r--r--src/include/utils/xml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/xml.h b/src/include/utils/xml.h
index b765ff88d67..4d98f179124 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.6 2007/01/05 22:20:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.7 2007/01/07 22:49:56 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,7 +33,7 @@ extern Datum texttoxml(PG_FUNCTION_ARGS);
extern Datum xmlvalidate(PG_FUNCTION_ARGS);
extern xmltype *xmlparse(text *data, bool is_doc, bool preserve_whitespace);
-extern xmltype *xmlpi(char *target, text *arg);
+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 char *map_sql_identifier_to_xml_name(char *ident, bool fully_escaped);