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:34 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 18:08:34 +0000 (18:08 +0000)
commit8a0137d785d5107844d489aa83ccb70de66a7653
tree9dd9d399c0459f677fd42e9b9bdf7acc00dcaa28
parenta8ab473383e3b085cee3fabf705130c476ce95c9
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