Re: [PATCHES] xpath_array with namespaces support

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: nikolay(at)samokhvalov(dot)com
Cc: PGSQL-Patches <pgsql-patches(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] xpath_array with namespaces support
Date: 2007-03-22 20:26:41
Message-ID: 200703222026.l2MKQf602415@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Applying newest version of this patch now; still needs documentation.

---------------------------------------------------------------------------

Nikolay Samokhvalov wrote:
> On 3/5/07, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com> wrote:
> > On 3/4/07, Nikolay Samokhvalov <nikolay(at)samokhvalov(dot)com> wrote:
> > > I'll fix these issues and extend the patch with resgression tests and
> > > docs for xpath_array(). I'll resubmit it very soon.
> >
> > Here is a new version of the patch. I didn't change any part of docs yet.
> > Since there were no objections I've changed the name of the function
> > to xmlpath().
>
> Updated version of the patch contains bugfix: there were a problem
> with path queries that pointed to elements (cases when a set of
> document parts that correspond to subtrees should be returned).
> Example is (included in regression test):
>
> xmltest=# SELECT xmlpath('//b', '<a>one <b>two</b> three <b>etc</b></a>');
> xmlpath
> -------------------------
> {<b>two</b>,<b>etc</b>}
> (1 row)
>
> Waiting for more feedback, please check it.
>
> --
> Best regards,
> Nikolay

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 20:33:54 Re: [PATCHES] As proposed the complete changes to pg_trigger and pg_rewrite
Previous Message Bruce Momjian 2007-03-22 20:16:16 Re: [PATCHES] xml2 contrib patch supporting default XML namespaces

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 20:33:54 Re: [PATCHES] As proposed the complete changes to pg_trigger and pg_rewrite
Previous Message Bruce Momjian 2007-03-22 20:18:52 Re: Re: [DOCS] suggestion for improving TMPDIR and "--format" docs for pg_dump