Re: [PATCHES] xpath_array with namespaces support

Поиск
Список
Период
Сортировка
Искать

Re: [PATCHES] xpath_array with namespaces support

От:
"Nikolay Samokhvalov" <samokhvalov@gmail.com>
Дата:
Вложения:
On 3/5/07, Nikolay Samokhvalov  wrote:
> On 3/4/07, Nikolay Samokhvalov  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', 'one two three etc');
         xmlpath
-------------------------
 {two,etc}
(1 row)

Waiting for more feedback, please check it.

-- 
Best regards,
Nikolay

Re: [PATCHES] xpath_array with namespaces support

От:
Bruce Momjian <bruce@momjian.us>
Дата:

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

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

Nikolay Samokhvalov wrote:
> On 3/5/07, Nikolay Samokhvalov  wrote:
> > On 3/4/07, Nikolay Samokhvalov  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', 'one two three etc');
>          xmlpath
> -------------------------
>  {two,etc}
> (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            http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

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