xml2contrib.patch
text/x-patch
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| contrib/xml2/pgxml.sql.in | 2 | 6 |
| contrib/xml2/uninstall_pgxml.sql | 0 | 2 |
*** ./contrib/xml2/pgxml.sql.in.orig 2010-03-01 19:07:59.000000000 +0100 --- ./contrib/xml2/pgxml.sql.in 2010-08-02 08:40:27.885789791 +0200 *************** *** 5,18 **** --SQL for XML parser - CREATE OR REPLACE FUNCTION xml_is_well_formed(text) RETURNS bool - AS 'MODULE_PATHNAME' - LANGUAGE C STRICT IMMUTABLE; - -- deprecated old name for xml_is_well_formed CREATE OR REPLACE FUNCTION xml_valid(text) RETURNS bool ! AS 'MODULE_PATHNAME', 'xml_is_well_formed' ! LANGUAGE C STRICT IMMUTABLE; CREATE OR REPLACE FUNCTION xml_encode_special_chars(text) RETURNS text AS 'MODULE_PATHNAME' --- 5,14 ---- --SQL for XML parser -- deprecated old name for xml_is_well_formed CREATE OR REPLACE FUNCTION xml_valid(text) RETURNS bool ! AS 'xml_is_well_formed' ! LANGUAGE INTERNAL STRICT IMMUTABLE; CREATE OR REPLACE FUNCTION xml_encode_special_chars(text) RETURNS text AS 'MODULE_PATHNAME' *** ./contrib/xml2/uninstall_pgxml.sql.orig 2007-11-13 05:24:29.000000000 +0100 --- ./contrib/xml2/uninstall_pgxml.sql 2010-08-02 08:38:40.134785878 +0200 *************** *** 29,33 **** -- deprecated old name for xml_is_well_formed DROP FUNCTION xml_valid(text); - - DROP FUNCTION xml_is_well_formed(text); --- 29,31 ----