Re: xpath_array with namespaces support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: xpath_array with namespaces support
Дата
Msg-id 200703222158.36891.peter_e@gmx.net
обсуждение исходный текст
Ответ на xpath_array with namespaces support  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Список pgsql-patches
Nikolay Samokhvalov wrote:
> Also, maybe someone can suggest better approach for passing namespace
> bindings (more convenient than ARRAY[ARRAY[...], ARRAY[...]])?

Your code assumes

ARRAY[ARRAY['myns', 'myns2'], ARRAY['http://example.com', 'http://example2.com']]

Shouldn't it be

ARRAY[ARRAY['myns', 'http://example.com'], ARRAY['myns2', 'http://example2.com']]

?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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