diff options
author | Bruce Momjian | 2004-12-02 22:21:12 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-12-02 22:21:12 +0000 |
commit | 1646586271ce980427ecce700aee48bbab974839 (patch) | |
tree | 88195831f2134189e3fffdd03861c959ad0ce80e /contrib/xml2/pgxml.sql.in | |
parent | 7af770d005b809bc0aa025605d7a369104e493bb (diff) |
Attached is a patch that adds the function xml_encode_special_chars to
the xml2 contrib module. It's against 8.0beta4. It's intended for
commit.
Markus Bertheau <twanger@bluetwanger.de>
Diffstat (limited to 'contrib/xml2/pgxml.sql.in')
-rw-r--r-- | contrib/xml2/pgxml.sql.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/xml2/pgxml.sql.in b/contrib/xml2/pgxml.sql.in index 9951d6c046..f9d8bd0e31 100644 --- a/contrib/xml2/pgxml.sql.in +++ b/contrib/xml2/pgxml.sql.in @@ -3,6 +3,9 @@ CREATE OR REPLACE FUNCTION xml_valid(text) RETURNS bool AS 'MODULE_PATHNAME' LANGUAGE 'c' WITH (isStrict); +CREATE OR REPLACE FUNCTION xml_encode_special_chars(text) RETURNS text + AS 'MODULE_PATHNAME' LANGUAGE 'c' WITH (isStrict); + CREATE OR REPLACE FUNCTION xpath_string(text,text) RETURNS text AS 'MODULE_PATHNAME' LANGUAGE 'c' WITH (isStrict); |