Fix contrib/xml2 so regression test still works when it's built without libxslt.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 18:08:16 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 18:08:16 +0000 (18:08 +0000)
commit7d9d852603b1a926abfba0c6da64f72fbd6df229
tree690be710455eb964367b9a860dfa576ebad1aaa2
parentd71936c9507ddc91f7b4d9e522861be2bdf89c84
Fix contrib/xml2 so regression test still works when it's built without libxslt.

This involves modifying the module to have a stable ABI, that is, the
xslt_process() function still exists even without libxslt.  It throws a
runtime error if called, but doesn't prevent executing the CREATE FUNCTION
call.  This is a good thing anyway to simplify cross-version upgrades.
contrib/xml2/Makefile
contrib/xml2/expected/xml2_1.out [new file with mode: 0644]
contrib/xml2/pgxml.sql.in
contrib/xml2/xslt_proc.c