Did xpath_table get dropped.

Started by Rob Sargentabout 14 years ago3 messagesgeneral
Jump to latest
#1Rob Sargent
robjsargent@gmail.com

I don't see anything to that effect in the release notes I've looked at.

I built 9.1.2 from source with these options.

CONFIGURE = '--with-libraries=/lib:/lib64:/lib/x86_64-linux-gnu'
'--with-python' '--with-openssl' '--with-ossp-uuid' '--with-libxml'
'--with-libxslt'

\df xpath*
                                List of functions
+------------+---------------+------------------+---------------------+--------+
|   Schema   |     Name      | Result data type | Argument data types | 
  Type  |
+------------+---------------+------------------+---------------------+--------+
| pg_catalog | xpath         | xml[]            | text, xml           | 
normal |
| pg_catalog | xpath         | xml[]            | text, xml, text[]   | 
normal |
| pg_catalog | xpath_exists  | boolean          | text, xml           | 
normal |
| pg_catalog | xpath_exists  | boolean          | text, xml, text[]   | 
normal |
| public     | xpath_list    | text             | text, text          | 
normal |
| public     | xpath_nodeset | text             | text, text          | 
normal |
| public     | xpath_nodeset | text             | text, text, text    | 
normal |
+------------+---------------+------------------+---------------------+--------+
(7 rows)

There is no xml-specific extension in /usr/local/pgsql/share/extensions.
That dir. has the python and uuid stuff.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rob Sargent (#1)
Re: Did xpath_table get dropped.

Rob Sargent <robjsargent@gmail.com> writes:

I don't see anything to that effect in the release notes I've looked at.

That's cause it's still there. Did you remember to build/install
contrib/xml2? The xpath functions you're listing are all core, I think.

regards, tom lane

#3Rob Sargent
robjsargent@gmail.com
In reply to: Rob Sargent (#1)
Re: Did xpath_table get dropped.

On 03/14/2012 09:49 PM, Rob Sargent wrote:

On 03/14/2012 08:57 PM, Tom Lane wrote:

Rob Sargent<robjsargent@gmail.com> writes:

I don't see anything to that effect in the release notes I've looked at.

That's cause it's still there. Did you remember to build/install
contrib/xml2? The xpath functions you're listing are all core, I think.

regards, tom lane

Thanks. I blew it on the configure then. Arrrg. Now off to find the
contribs.

Cheers.

For closure, and for any poor slob in the same predicament:
I carefully put my big-boy pants back on and
cd postgres-9.1.2/contrib/xml2
make install

create extension xml2;
Joy