Re: [GENERAL] Did xpath_table get dropped.

2012-03-15 Thread Rob Sargent

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

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

Rob Sargentrobjsarg...@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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[GENERAL] Did xpath_table get dropped.

2012-03-14 Thread Rob Sargent

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.



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] Did xpath_table get dropped.

2012-03-14 Thread Tom Lane
Rob Sargent robjsarg...@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

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general