From: "Nikolay Samokhvalov" <[EMAIL PROTECTED]> Subject: [HACKERS] Re: [HACKERS] XQuery or XPathサポート Date: Mon, 5 Mar 2007 14:51:43 +0300 Message-ID: <[EMAIL PROTECTED]>
> On 3/5/07, Tatsuo Ishii <[EMAIL PROTECTED]> wrote: > > Is there any plan for supporting XQuery or XPath in 8.3? > > I've submitted patch for simple XPath 1.0 support (based on libxml2): > http://archives.postgresql.org/pgsql-patches/2007-03/msg00088.php But contrib/README.xml2 stated: "This version of the XML functions provides both XPath querying and XSLT functionality" What's the difference between yours and contrib/xml2? > This function does XML parsing at query time. So, you should use > functional indexes over this function to reach good perfromance. > > My curent plans include development of additional contrib module for > alternative (experimental), efficient support of XPath (no XML parsing > at query time), similar to Microsoft's ORDPATHs. This project is > called "xlabel" and I hope to implement its prototype soon. Also Peter seems to add xml datatype to 8.3. Does your functuion handle this data type? -- Tatsuo Ishii SRA OSS, Inc. Japan ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match