Re: errors while working on xml functions in postgresql - Mailing list pgsql-general

From Tom Lane
Subject Re: errors while working on xml functions in postgresql
Date
Msg-id 24340.1217266927@sss.pgh.pa.us
Whole thread Raw
In response to errors while working on xml functions in postgresql  (aravind chandu <avin_friends@yahoo.com>)
List pgsql-general
aravind chandu <avin_friends@yahoo.com> writes:
> I installed postgresql on my sytem,I need to parse an xml file.When I am
> working on xpath() it is showing an error that function is notfound and
> i tried almost all xml functions in postgresql but it is giving me the
> same result.why so ?

Are you reading a manual that corresponds to the PG version you're
using?

The xml functions are only in core as of 8.3; in prior versions they
were in a contrib module, which you'd need to build and install.
The contrib functions were a bit different in detail, too, which is
why you'd better consult the right manual.

> should I have to install any xml library inorder
> to avoid this?

No PG version is going to support any xml functionality without libxml2.

            regards, tom lane

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: should i need to install xml library in postgresql inorder to work on xml file?
Next
From: Stephane Bortzmeyer
Date:
Subject: Re: should i need to install xml library in postgresql inorder to work on xml file?