Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml

From: Khangelani Gama <kgama(at)argility(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml
Date: 2014-06-12 08:23:14
Message-ID: ede82599f2831c126d1f640f6830966d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-06-12 08:34:24 Re: Postgres 9.2.4 - rebuild PostgreSQL using --with-libxml
Previous Message Saravanan Subramaniyan 2014-06-12 06:43:21 OpenSSL Vulnerabilities