Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] --enable-xml instead of --with-libxml?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Nikolay Samokhvalov <nikolay(at)samokhvalov(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] --enable-xml instead of --with-libxml?
Date: 2007-04-05 01:47:28
Message-ID: 200704050147.l351lSi18429@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
I have applied the following patch which adds documentation and an
improved error message for an installation that does not use
--with-libxml.

---------------------------------------------------------------------------

Nikolay Samokhvalov wrote:
> 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

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Attachment: /rtmp/diff
Description: text/x-diff (3.5 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2007-04-05 01:48:08
Subject: Re: autovacuum multiworkers, patch 5
Previous:From: Andrew - SupernewsDate: 2007-04-05 01:35:19
Subject: Re: Bug in UTF8-Validation Code?

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2007-04-05 01:48:08
Subject: Re: autovacuum multiworkers, patch 5
Previous:From: Gregory StarkDate: 2007-04-05 01:17:00
Subject: Re: Auto Partitioning

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group