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

From: "Nikolay Samokhvalov" <nikolay(at)samokhvalov(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: --enable-xml instead of --with-libxml?
Date: 2007-04-04 21:22:48
Message-ID: e431ff4c0704041422i4f31740etc9615bb99d719705@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 4/5/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> Nikolay Samokhvalov wrote:
> [...]
> > If I am wrong and it's better to leave libxml2-free capabilities, then
> IMHO
> > we need to reflect it explicitly in the docs, what requires libxml2, and
> > what doesn't
>
> Agreed, let's do the later and update the documentation.

So, you are agreed that I am wrong :-) Well... I would be happy hear some
arguments, but I cannot insist on it :-)

Also, do we
> output a helpful message if someone tries to use a libxml2 function that
> isn't available.

Yep, here it is:

INSERT INTO xmltest VALUES (1, '<value>one</value>');
ERROR: no XML support in this installation

I suppose we should change it to "no libxml2 support in this installation",
shouldn't we?

--
Best regards,
Nikolay

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2007-04-04 21:52:06 Re: Bug in UTF8-Validation Code?
Previous Message Devrim GÜNDÜZ 2007-04-04 21:19:53 About pg_internal.init files

Browse pgsql-patches by date

  From Date Subject
Next Message Ed L. 2007-04-04 22:15:04 dropping role w/dependent objects
Previous Message Joshua D. Drake 2007-04-04 20:59:38 Re: Auto Partitioning