Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/xml/pgxml.sql.in')
-rw-r--r--contrib/xml/pgxml.sql.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/xml/pgxml.sql.in b/contrib/xml/pgxml.sql.in
new file mode 100644
index 00000000000..0814baa5938
--- /dev/null
+++ b/contrib/xml/pgxml.sql.in
@@ -0,0 +1,12 @@
+-- SQL for XML parser
+
+-- Adjust this setting to control where the objects get created.
+SET search_path TO public;
+
+SET autocommit TO on;
+
+CREATE OR REPLACE FUNCTION pgxml_parse(text) RETURNS boolean
+ AS 'MODULE_PATHNAME' LANGUAGE c STRICT;
+
+CREATE OR REPLACE FUNCTION pgxml_xpath(text, text, text, text) RETURNS text
+ AS 'MODULE_PATHNAME' LANGUAGE c STRICT;