XML indexing

Поиск
Список
Период
Сортировка
От antony.carvalho@lightbase.com.br
Тема XML indexing
Дата
Msg-id p1i5rdg.96988da8265729c933a25dee9f651d09@webmail.lightbase.com.br
обсуждение исходный текст
Список pgsql-general
Hi all,

Im trying to use the xpath funtion to get xml text nodes with efficiency, than i created an index like :
=#create  index doc_idx on testxml using btree (((xpath('/book/id/text()', doc))[1]::text));
But the index is used just when i want xpath('/book/id/text()', doc). I want to get any 
text node from xml doc without having to index that path every time i query.
Do anyone knows how to index like that ? Tx

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

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: problem with recreating database with export
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: problem with recreating database with export