Thread: compiling Xpath functions in PostgreSQL 8.3.3

compiling Xpath functions in PostgreSQL 8.3.3

From
sagswe
Date:
Hi,

I was trying to install postgreSQL with XML data type support. My OS is
ubuntu , kernel 2.6.15.. PostgresSQL version is 8.3.3 .I have libxml2 and
libxslt installed. I configured using
./configure --with-libxml --with-libxslt
configure went fine..
'make all' went fine
'make install' went fine.

when i check the functions available inside PostgreSQL using '\df x*' , I
can only see xpath() function that is related to xpath. I was able to use
xpath() function properly. However,No other functions like xpath_bool() ,are
available.

When i run ' \i  /usr/local/pgsql/share/pgxml.sql' in postgre , I get error
saying file or directory named 'MODULE_PATHNAME' doesn't exist. How to get
this MODULE_PATHNAME exist?.

what is the easiest way to get the XML functioanlity (mainly xpath part like
xpath_bool etc..) in PostgreSQL in Linux. I mean which linux flavours, or
postgreSQl versions are recommendable. I couldn't find the documentation
online for getting XML working in postgreSQL (except that configure with
libxml ).

THanks in Advance
SagAr.
--
View this message in context:
http://www.nabble.com/compiling-Xpath-functions-in-PostgreSQL-8.3.3-tp18858857p18858857.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


Re: compiling Xpath functions in PostgreSQL 8.3.3

From
Peter Eisentraut
Date:
Am Wednesday, 6. August 2008 schrieb sagswe:
> When i run ' \i  /usr/local/pgsql/share/pgxml.sql' in postgre , I get error
> saying file or directory named 'MODULE_PATHNAME' doesn't exist. How to get
> this MODULE_PATHNAME exist?.

This sounds like your installation is botched?  How did you install this?