diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-13 18:36:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-13 18:36:26 +0000 |
commit | a0b7b717a4324f573d3a7651a06037557066eb77 (patch) | |
tree | bf6bcc7d519ed9289bc0eaaf9ac1aa00ce3b2e61 /src/include/utils/xml.h | |
parent | 2a7349f030a4dca61f188b7a7f02a51c6877e621 (diff) | |
download | postgresql-a0b7b717a4324f573d3a7651a06037557066eb77.tar.gz postgresql-a0b7b717a4324f573d3a7651a06037557066eb77.zip |
Add xml_is_well_formed, xml_is_well_formed_document, xml_is_well_formed_content
functions to the core XML code. Per discussion, the former depends on
XMLOPTION while the others do not. These supersede a version previously
offered by contrib/xml2.
Mike Fowler, reviewed by Pavel Stehule
Diffstat (limited to 'src/include/utils/xml.h')
-rw-r--r-- | src/include/utils/xml.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/utils/xml.h b/src/include/utils/xml.h index 807bb08485f..96029c2ebd9 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.33 2010/08/08 19:15:27 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.34 2010/08/13 18:36:26 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -39,6 +39,9 @@ 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 xml_is_well_formed(PG_FUNCTION_ARGS); +extern Datum xml_is_well_formed_document(PG_FUNCTION_ARGS); +extern Datum xml_is_well_formed_content(PG_FUNCTION_ARGS); extern Datum table_to_xml(PG_FUNCTION_ARGS); extern Datum query_to_xml(PG_FUNCTION_ARGS); |