Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml - Mailing list pgsql-general

From Khangelani Gama
Subject Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml
Date
Msg-id ede82599f2831c126d1f640f6830966d@mail.gmail.com
Whole thread Raw
Responses Re: Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml
Re: Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml
Re: Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml
List pgsql-general

Hi all

 

 

I was asked by application dev to rebuild PostgreSQL with libxml because they get the following error from the server.

 

WITH x(col) AS (SELECT '<?xml version="1.0" ?><response><status>ERROR_MISSING_DATA</status></response>'::xml)

SELECT xpath('./status/text()', col) AS status

FROM   x;

LINE 1: WITH x(col) AS (SELECT '<?xml version="1.0" ?><response><sta...

                               ^

DETAIL:  This functionality requires the server to be built with libxml support.

HINT:  You need to rebuild PostgreSQL using --with-libxml.

 

 

 

I then did the following:

 

1.  We installed library 'xml2' (version >= 2.6.23)

2.  ./configure --with-libxml

3.  gmake

4.  gmake install

 

 

 

I did not touch the database. They‘re getting the same error. Please advise if there was something else I needed to do.

 

 

 

Thanks

 

 

 

 

 

 

 

 

 

 

 


CONFIDENTIALITY NOTICE
The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential
information of Argility (Proprietary) Limited and/or its subsidiaries. Any review, use or dissemination thereof by anyone
other than the intended addressee is prohibited.If you are not the intended addressee please notify the writer immediately
and destroy the e-mail. Argility (Proprietary) Limited and its subsidiaries distance themselves from and accept no liability
for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.

pgsql-general by date:

Previous
From: Si Chen
Date:
Subject: Re: what does pg_activity mean when the database is stuck?
Next
From: John R Pierce
Date:
Subject: Re: Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml