Re: --enable-xml instead of --with-libxml?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: nikolay(at)samokhvalov(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: --enable-xml instead of --with-libxml?
Date: 2007-02-21 13:59:30
Message-ID: 20070221135930.GM25424@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Nikolay Samokhvalov wrote:
> Now we have --with-libxml (and USE_LIBXML constant for #ifdef-s), what
> is not absolutely right: XML support is smth that is more general than
> "using libxml2 library". E.g., some SQL/XML publishing functions (such
> as XMLPI) do not deal with libxml2.
>
> Also, in the future more "non-libxml" functionality could be added to
> "XML support" (well, Peter's recent SQL-to-XML mapping functions prove
> it).
>
> I think it'd better to rename configure option to --enable-xml and
> USE_LIBXML to ENABLE_XML. I'll do it if there are no objections.

I think it would be better that leaving --with-libxml out (i.e.
compiling without libxml2 support) would only disable those parts in XML
functionality that require libxml2 for their implementation; the rest of
the stuff should be compiled in regardless of the setting.

Is this not what is done currently?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian G. Pflug 2007-02-21 14:01:23 Re: New feature request: FlashBack Query
Previous Message Alvaro Herrera 2007-02-21 13:54:07 Re: Column storage positions

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-21 14:01:51 Re: tsearch in core patch, for inclusion
Previous Message Florian G. Pflug 2007-02-21 13:37:46 Re: tsearch in core patch, for inclusion