Yi Zhao <yi.zhao@alibaba-inc.com> writes:
> my version is 8.3.3:
I kinda doubt that, actually, because you should not have been getting
"function not found" errors in 8.3. An 8.3 server built without XML
support should react more like this:
regression=# select xpath('foo','bar');
ERROR: unsupported XML feature
DETAIL: This functionality requires the server to be built with libxml support.
HINT: You need to rebuild PostgreSQL using --with-libxml.
In any case the error you're showing us suggests that the libxml
installation is broken, not PG itself.
You still haven't told us the platform...
regards, tom lane