Re: errors while working on xml functions in postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: avin_friends(at)yahoo(dot)com
Cc: postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: Re: errors while working on xml functions in postgresql
Date: 2008-07-28 17:42:07
Message-ID: 24340.1217266927@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

aravind chandu <avin_friends(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2008-07-28 17:47:43 Re: should i need to install xml library in postgresql inorder to work on xml file?
Previous Message Joshua D. Drake 2008-07-28 17:42:00 Re: should i need to install xml library in postgresql inorder to work on xml file?