Re: [PATCH] Re: Adding xpath_exists function

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] Re: Adding xpath_exists function
Дата
Msg-id 1281061552-sup-8773@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCH] Re: Adding xpath_exists function  (Mike Fowler <mike@mlfowler.com>)
Список pgsql-hackers
Excerpts from Mike Fowler's message of mar jun 29 06:37:28 -0400 2010:

> After seeing some other posts in the last couple of days, I realised I 
> hadn't documented the function in the SGML. I have now done so, and 
> added a couple of tests with XML literals. Please find the patch 
> attached. Now time to go correct the xmlexists patch too...

Hmm, is 0 a valid node number in a xmlNodeSet?  If it is, searching for
the zeroth node would make the code call PG_RETURN_BOOL(0), no?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: LockDatabaseObject vs. LockSharedObject
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Initial review of xslt with no limits patch