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.
Showing
- contrib/xml2/Makefile 2 additions, 2 deletionscontrib/xml2/Makefile
- contrib/xml2/expected/xml2_1.out 109 additions, 0 deletionscontrib/xml2/expected/xml2_1.out
- contrib/xml2/pgxml.sql.in 1 addition, 10 deletionscontrib/xml2/pgxml.sql.in
- contrib/xml2/xslt_proc.c 23 additions, 1 deletioncontrib/xml2/xslt_proc.c
Loading
Please register or sign in to comment