]> granicus.if.org Git - postgresql/commit
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:07 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 18:08:07 +0000 (18:08 +0000)
commitb0c8b3dd6a1e1bd0bee0c60c398315455d6c8d65
treeb8dd52098bd164925f838ae5c6b5ebaad5bf62ef
parent5ea32f560a411e806b0665a5e091d85d1565ee2e
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