Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2002-10-22 20:03:09 +0000
committerPeter Eisentraut2002-10-22 20:03:09 +0000
commit0bd223291f57a126587a0a06ba61f30eac80ea3c (patch)
tree50590a2a7ecf6de1114c62c42c949560c7984044 /contrib/xml/pgxml.sql.in
parent1c23cf4371707dee522cff08cc52ea86b99f24f6 (diff)
Update build system.
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;