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.

Reply via email to