]> git.ipfire.org Git - thirdparty/postgresql.git/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:41 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 18:08:41 +0000 (18:08 +0000)
commit727af2a58a7b07ff4b7752ba8d84507d300e49f6
treed82530e963c5a25eca78ba0f29a62f4bc78df38c
parent8a37a0341e9ec4ecd25ff5caa400f6367742f9e3
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