pgsql: Fix contrib/xml2 so regression test still works when it's built

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix contrib/xml2 so regression test still works when it's built
Date: 2010-03-01 18:08:41
Message-ID: 20100301180841.0FCED7541D1@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/contrib/xml2:
Makefile (r1.5.4.3 -> r1.5.4.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/Makefile?r1=1.5.4.3&r2=1.5.4.4)
pgxml.sql.in (r1.3 -> r1.3.4.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/pgxml.sql.in?r1=1.3&r2=1.3.4.1)
xslt_proc.c (r1.3.4.3 -> r1.3.4.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xslt_proc.c?r1=1.3.4.3&r2=1.3.4.4)

Added Files:
-----------
pgsql/contrib/xml2/expected:
xml2_1.out (r1.1.10.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/expected/xml2_1.out?rev=1.1.10.1&content-type=text/x-cvsweb-markup)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2010-03-01 18:35:19 Re: Re: pgsql: add EPERM to the list of return codes to expect from opening
Previous Message Tom Lane 2010-03-01 18:08:34 pgsql: Fix contrib/xml2 so regression test still works when it's built