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:07:59 +0000 (18:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 18:07:59 +0000 (18:07 +0000)
commitd6a6f8c6be4b6d6a9e90e92d91a83225bfe8d29d
treee1730344410a4d0809c79540c9ada40829b1b0ff
parent8373490607c437445163da8b7a44787f997ebf84
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