aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/xml.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-08 19:15:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-08 19:15:27 +0000
commit4dfc4578548ea8f1bf69da5424d1e76a0b110a75 (patch)
tree3935ec70179da8547538d52801fb747942dd5392 /src/include/utils/xml.h
parent46aa77c7bd256b3448cc420e02ff59d7cc0270c1 (diff)
downloadpostgresql-4dfc4578548ea8f1bf69da5424d1e76a0b110a75.tar.gz
postgresql-4dfc4578548ea8f1bf69da5424d1e76a0b110a75.zip
Add an xpath_exists() function. This is equivalent to XMLEXISTS except that
it offers support for namespace mapping. Mike Fowler, reviewed by David Fetter
Diffstat (limited to 'src/include/utils/xml.h')
-rw-r--r--src/include/utils/xml.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/xml.h b/src/include/utils/xml.h
index 6815e266c7c..807bb08485f 100644
--- a/src/include/utils/xml.h
+++ b/src/include/utils/xml.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.32 2010/08/05 04:21:54 petere Exp $
+ * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.33 2010/08/08 19:15:27 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -37,6 +37,7 @@ extern Datum texttoxml(PG_FUNCTION_ARGS);
extern Datum xmltotext(PG_FUNCTION_ARGS);
extern Datum xmlvalidate(PG_FUNCTION_ARGS);
extern Datum xpath(PG_FUNCTION_ARGS);
+extern Datum xpath_exists(PG_FUNCTION_ARGS);
extern Datum xmlexists(PG_FUNCTION_ARGS);
extern Datum table_to_xml(PG_FUNCTION_ARGS);